commit | 20fa53855e5479e9903047ba18cc247fd4519db4 | [log] [tgz] |
---|---|---|
author | Ramkumar Ramachandra <artagnon@gmail.com> | Fri Nov 30 17:07:34 2012 +0530 |
committer | Junio C Hamano <gitster@pobox.com> | Sun Dec 02 01:58:40 2012 -0800 |
tree | c6dc62c5cefb3d26446cd30b8eaac5618a0040b2 | |
parent | 3b13af9d6cfab0d66cae386cbdc924030ad7a1e8 [diff] |
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>