From: Nguyễn Thái Ngọc Duy Date: Sun, 11 Feb 2018 09:43:28 +0000 (+0700) Subject: rebase: introduce and use pseudo-ref REBASE_HEAD X-Git-Tag: v2.17.0-rc0~46^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/fbd7a23237094c3fb2e249bbcacbbf1e858e79c9?ds=inline;hp=fbd7a23237094c3fb2e249bbcacbbf1e858e79c9 rebase: introduce and use pseudo-ref REBASE_HEAD The new command `git rebase --show-current-patch` is useful for seeing the commit related to the current rebase state. Some however may find the "git show" command behind it too limiting. You may want to increase context lines, do a diff that ignores whitespaces... For these advanced use cases, the user can execute any command they want with the new pseudo ref REBASE_HEAD. This also helps show where the stopped commit is from, which is hard to see from the previous patch which implements --show-current-patch. Helped-by: Tim Landscheidt Signed-off-by: Nguyễn Thái Ngọc Duy Signed-off-by: Junio C Hamano ---