Signed-off-by: Benjamin C Meyer <bmeyer@xxxxxxx> --- git-rebase--interactive.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/git-rebase--interactive.sh b/git-rebase--interactive.sh index 3e4fd14..6f6748c 100755 --- a/git-rebase--interactive.sh +++ b/git-rebase--interactive.sh @@ -793,7 +793,7 @@ first and then run 'git rebase --continue' again." mkdir "$DOTEST" || die "Could not create temporary $DOTEST" : > "$DOTEST"/interactive || die "Could not mark as interactive" - git symbolic-ref HEAD > "$DOTEST"/head-name 2> /dev/null || + git symbolic-ref --quiet HEAD > "$DOTEST"/head-name || echo "detached HEAD" > "$DOTEST"/head-name echo $HEAD > "$DOTEST"/head -- 1.7.0.2 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html