aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/diff-index.c
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2018-11-07 06:00:50 -0800
committerJunio C Hamano <gitster@pobox.com>2018-11-08 10:16:38 +0900
commit176f5d965ba128f79a51d6c8d1620506672403e1 (patch)
tree90c11373fb4e7bd39f062040119f7e43fb993aa2 /builtin/diff-index.c
parent2dac2bc843198c378b1f14dc9b7d3994cb240c97 (diff)
downloadgit-176f5d965ba128f79a51d6c8d1620506672403e1.tar.gz
built-in rebase --autostash: leave the current branch alone if possible
When we converted a `git reset --hard` call in the original Unix shell script to built-in code, we asked to reset the worktree and the index and explicitly *not* to detach the HEAD. By mistake, though, we still did. Let's fix this. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/diff-index.c')
0 files changed, 0 insertions, 0 deletions