diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-03-08 15:51:36 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-03-10 15:35:48 -0800 |
commit | 214123c6457d9706716dbdd608d03262e348a121 (patch) | |
tree | a3c67598abcf7d79966127e4b7ed663f1049f7d4 /t/t3302-notes-index-expensive.sh | |
parent | sane_grep: pass "-a" if grep accepts it (diff) | |
download | tgif-214123c6457d9706716dbdd608d03262e348a121.tar.xz |
rebase-i: clarify "is this commit relevant?" test
While I was checking all the call sites of sane_grep and sane_egrep,
I noticed this one is somewhat strangely written. The lines in the
file sane_grep works on all begin with 40-hex object name, so there
is no real risk of confusing "test $(...) = ''" by finding something
that begins with a dash, but using the status from sane_grep makes
it a lot clearer what is going on.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3302-notes-index-expensive.sh')
0 files changed, 0 insertions, 0 deletions