summaryrefslogtreecommitdiff
path: root/builtin/rm.c
diff options
context:
space:
mode:
authorLibravatar Fredrik Gustafsson <iveqy@iveqy.com>2013-06-17 11:55:36 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-06-17 13:26:42 -0700
commitb545cd15af873fe15e692daaa6e804b191b451cc (patch)
tree9c2ea540b98e341a606f44879bf54152b58a710b /builtin/rm.c
parentMerge tag 'gitgui-0.18.0' of git://repo.or.cz/git-gui (diff)
downloadtgif-b545cd15af873fe15e692daaa6e804b191b451cc.tar.xz
git-submodule.sh: remove duplicate call to set_rev_name
set_rev_name is a possiblly expensive operation. If a submodule has changes in it, set_rev_name was called twice. Move call to set_rev_name so it's only called once, no matter which codepath is taken. Signed-off-by: Fredrik Gustafsson <iveqy@iveqy.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/rm.c')
0 files changed, 0 insertions, 0 deletions