feat: use remote name when available
This commit is contained in:
parent
623edecd0c
commit
53a8e652ff
1 changed files with 5 additions and 1 deletions
|
|
@ -72,7 +72,11 @@ _gitcrux_VCS_header() {
|
||||||
local head_remote= head_repo= head_stage= head_branch=
|
local head_remote= head_repo= head_stage= head_branch=
|
||||||
|
|
||||||
# REMOTE
|
# REMOTE
|
||||||
head_remote="remote" # TODO
|
if _lp_vcs_remote; then
|
||||||
|
head_remote="$lp_vcs_remote"
|
||||||
|
else
|
||||||
|
head_remote="remote"
|
||||||
|
fi
|
||||||
|
|
||||||
# REPO
|
# REPO
|
||||||
head_repo="${_GITCRUX_HEAD_REPO}"
|
head_repo="${_GITCRUX_HEAD_REPO}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue