diff options
author | Ralf Thielow <ralf.thielow@googlemail.com> | 2010-07-19 18:26:12 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-07-19 11:13:52 -0700 |
commit | c173dad58787a7f11a526dbcdaa5a2fe9ff1c87f (patch) | |
tree | 8fb988fbfa7ba9d22f1b668a41e3effa48352ee0 /t/t9502-gitweb-standalone-parse-output.sh | |
parent | Documentation: Explain git-mergetool's use of temporary files (diff) | |
download | tgif-c173dad58787a7f11a526dbcdaa5a2fe9ff1c87f.tar.xz |
update-server-info: Shorten read_pack_info_file()
The correct responses to a D and a T line in .git/objects/info/packs
are the same, so combine their case arms. In both cases we already
‘goto’ out of the switch so while at it, remove a redundant ‘break’
to avoid yet another line of code.
Signed-off-by: Ralf Thielow <ralf.thielow@googlemail.com>
Reviewed-by: Jonathan Nieder <jrnieder <at> gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9502-gitweb-standalone-parse-output.sh')
0 files changed, 0 insertions, 0 deletions