diff options
author | Ramkumar Ramachandra <artagnon@gmail.com> | 2012-11-30 17:07:34 +0530 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-12-02 01:58:40 -0800 |
commit | 20fa53855e5479e9903047ba18cc247fd4519db4 (patch) | |
tree | c6dc62c5cefb3d26446cd30b8eaac5618a0040b2 /version.c | |
parent | t4041 (diff-submodule-option): don't hardcode SHA-1 in expected outputs (diff) | |
download | tgif-20fa53855e5479e9903047ba18cc247fd4519db4.tar.xz |
t4041 (diff-submodule-option): parse digests sensibly
`git rev-list --max-count=1 HEAD` is a roundabout way of saying `git
rev-parse --verify HEAD`; replace a bunch of instances of the former
with the latter. Also, don't unnecessarily `cut -c1-7` the rev-parse
output when the `--short` option is available.
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'version.c')
0 files changed, 0 insertions, 0 deletions