diff options
author | Fredrik Gustafsson <iveqy@iveqy.com> | 2013-06-17 11:55:36 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-06-17 13:26:42 -0700 |
commit | b545cd15af873fe15e692daaa6e804b191b451cc (patch) | |
tree | 9c2ea540b98e341a606f44879bf54152b58a710b /sideband.h | |
parent | fb7dfaa710da6f9ebb854f70ffc1c78668a1e70c (diff) | |
download | git-b545cd15af873fe15e692daaa6e804b191b451cc.tar.gz |
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 'sideband.h')
0 files changed, 0 insertions, 0 deletions