summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2010-10-31 02:40:30 -0500
committerJunio C Hamano <gitster@pobox.com>2010-11-09 15:06:41 -0800
commit5c947e2c386aea5c94546c7a40a0d4d7f7b3934a (patch)
tree33b89af06b44fb038db2ce8b1ecc32b942172093 /commit.h
parent99b028e5589702320630c094d510d885ac8c9e50 (diff)
downloadgit-5c947e2c386aea5c94546c7a40a0d4d7f7b3934a.tar.gz
t3404 (rebase -i): introduce helper to check position of HEAD
The same code to check the position of HEAD is used by several tests in this script. Factor it out as a function and simplify it. Noticed using an &&-chaining tester, because the current code does not propagate the precise exit status from errors. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.h')
0 files changed, 0 insertions, 0 deletions