summaryrefslogtreecommitdiffstats
path: root/submodule.h
diff options
context:
space:
mode:
authorBrian Gernhardt <brian@gernhardtsoftware.com>2010-11-08 22:29:26 +0100
committerJunio C Hamano <gitster@pobox.com>2010-11-17 22:50:20 +0100
commit9f6cea97c97ee505bd6771db7df69f04df9b4fc4 (patch)
tree279e7b592063185189bed522734770977ef421bc /submodule.h
parentmerge-recursive:make_room_for_directories - work around dumb compilers (diff)
downloadgit-9f6cea97c97ee505bd6771db7df69f04df9b4fc4.tar.xz
git-9f6cea97c97ee505bd6771db7df69f04df9b4fc4.zip
t6022: Use -eq not = to test output of wc -l
When comparing numbers such as "3" to "$(wc -l)", we should check for numerical equality using -eq instead of string equality using = because some implementations of wc output extra whitespace. Signed-off-by: Brian Gernhardt <brian@gernhardtsoftware.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'submodule.h')
0 files changed, 0 insertions, 0 deletions