summaryrefslogtreecommitdiff
path: root/t/t1305-config-include.sh
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2018-10-22 15:15:05 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-10-23 13:18:01 +0900
commitb98e914e4650b876b9049bff1a5a33f4bfda0e0a (patch)
tree1724ad350619f1490058d149f7fb6d55ee56e281 /t/t1305-config-include.sh
parentrebase (autostash): store the full OID in <state-dir>/autostash (diff)
downloadtgif-b98e914e4650b876b9049bff1a5a33f4bfda0e0a.tar.xz
rebase (autostash): use an explicit OID to apply the stash
When `git stash apply <argument>` sees an argument that consists only of digits, it tries to be smart and interpret it as `stash@{<number>}`. Unfortunately, an all-digit hash (which is unlikely but still possible) is therefore misinterpreted as `stash@{<n>}` reflog. To prevent that from happening, let's append `^0` after the stash hash, to make sure that it is interpreted as an OID rather than as a number. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Reviewed-by: SZEDER Gábor <szeder.dev@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1305-config-include.sh')
0 files changed, 0 insertions, 0 deletions