summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2012-07-30 10:51:52 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-07-30 10:52:29 -0700
commitad6a599c0a98441e3da0aaeb44bd39a167cb0693 (patch)
treee20ab3688f6dd265365d0980462dcb620c2e25bf /contrib
parentsubmodule update: continue when a checkout fails (diff)
downloadtgif-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 'contrib')
0 files changed, 0 insertions, 0 deletions