summaryrefslogtreecommitdiff
path: root/git-parse-remote.sh
diff options
context:
space:
mode:
authorLibravatar Jonathan Nieder <jrnieder@gmail.com>2010-10-31 02:40:30 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-11-09 15:06:41 -0800
commit5c947e2c386aea5c94546c7a40a0d4d7f7b3934a (patch)
tree33b89af06b44fb038db2ce8b1ecc32b942172093 /git-parse-remote.sh
parentt3404 (rebase -i): move comment to description (diff)
downloadtgif-5c947e2c386aea5c94546c7a40a0d4d7f7b3934a.tar.xz
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 'git-parse-remote.sh')
0 files changed, 0 insertions, 0 deletions