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 /contrib/completion/git-completion.bash | |
parent | Merge tag 'gitgui-0.18.0' of git://repo.or.cz/git-gui (diff) | |
download | tgif-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 'contrib/completion/git-completion.bash')
0 files changed, 0 insertions, 0 deletions