diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-07-30 10:51:52 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-07-30 10:52:29 -0700 |
commit | ad6a599c0a98441e3da0aaeb44bd39a167cb0693 (patch) | |
tree | e20ab3688f6dd265365d0980462dcb620c2e25bf /GIT-VERSION-GEN | |
parent | submodule update: continue when a checkout fails (diff) | |
download | tgif-ad6a599c0a98441e3da0aaeb44bd39a167cb0693.tar.xz |
t7406: fix misleading "rev-parse --max-count=1 HEAD"
The test happened to use "rev-parse --max-count=1 HEAD" consistently
to prepare the expected output and the actual output, so the
comparison between them gave us a correct success/failure because
both output had irrelevant "--max-count=1" in it.
But that is not an excuse to keep it broken. Replace it a more
meaningful construct "rev-parse --verify HEAD".
Noticed by Daniel GraƱa while working on his submodule tests.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'GIT-VERSION-GEN')
0 files changed, 0 insertions, 0 deletions