diff options
| author | Jonathan Nieder <jrnieder@gmail.com> | 2010-10-31 02:40:30 -0500 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2010-11-09 15:06:41 -0800 |
| commit | 5c947e2c386aea5c94546c7a40a0d4d7f7b3934a (patch) | |
| tree | 33b89af06b44fb038db2ce8b1ecc32b942172093 /builtin/commit-tree.c | |
| parent | t3404 (rebase -i): move comment to description (diff) | |
| download | git-5c947e2c386aea5c94546c7a40a0d4d7f7b3934a.tar.gz git-5c947e2c386aea5c94546c7a40a0d4d7f7b3934a.zip | |
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 'builtin/commit-tree.c')
0 files changed, 0 insertions, 0 deletions
