fix: handle revision and pathspec of same name
This commit is contained in:
parent
e8e7213cd6
commit
932057fb7b
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -15,7 +15,7 @@ LOCK_DIR = $(YSYX_HOME)/.git/
|
|||
|
||||
# prototype: git_soft_checkout(branch)
|
||||
define git_soft_checkout
|
||||
git checkout --detach -q && git reset --soft $(1) -q && git checkout $(1) -q
|
||||
git checkout --detach -q && git reset --soft $(1) -q -- && git checkout $(1) -q --
|
||||
endef
|
||||
|
||||
# prototype: git_commit(msg)
|
||||
|
|
Loading…
Reference in a new issue