diff options
author | René Scharfe <l.s.r@web.de> | 2017-03-17 23:02:13 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-03-18 10:13:09 -0700 |
commit | dce96c41f9d11280ba25ca3927f3e627f03eaf86 (patch) | |
tree | 5f004ab609d339d995ac8dc77e771c0adb436b17 /git-gui/lib/mergetool.tcl | |
parent | preparing for 2.10.3 (diff) | |
download | tgif-dce96c41f9d11280ba25ca3927f3e627f03eaf86.tar.xz |
receive-pack: simplify run_update_post_hook()
Instead of counting the arguments to see if there are any and then
building the full command use a single loop and add the hook command
just before the first argument. This reduces duplication and overall
code size.
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib/mergetool.tcl')
0 files changed, 0 insertions, 0 deletions