Code

contrib/diffall: eliminate duplicate while loops
authorTim Henigan <tim.henigan@gmail.com>
Wed, 14 Mar 2012 16:38:05 +0000 (12:38 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 14 Mar 2012 22:22:08 +0000 (15:22 -0700)
commit97549084f660c43fe4b6dc34bf60afef4948b432
tree756bc5217fd60c5cb0fcba2d3fefc62268851d23
parente33e01d07703d0c2c662c30e745dc93b543641c0
contrib/diffall: eliminate duplicate while loops

There were 3 instances of a 'while read; do' that used identical logic
to populate '/tmp/right_dir'. This commit groups them into a single loop.

Signed-off-by: Tim Henigan <tim.henigan@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/diffall/git-diffall