mirror of
https://github.com/git/git
synced 2024-10-28 19:25:47 +00:00
git-merge: do not leak rev-parse output used for checking internally.
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
51901e96bf
commit
c175161638
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ then
|
|||
shift
|
||||
head_arg="$1"
|
||||
shift
|
||||
elif ! git-rev-parse --verify HEAD 2>/dev/null
|
||||
elif ! git-rev-parse --verify HEAD >/dev/null 2>&1
|
||||
then
|
||||
# If the merged head is a valid one there is no reason to
|
||||
# forbid "git merge" into a branch yet to be born. We do
|
||||
|
|
Loading…
Reference in a new issue