Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
git-submodule.sh: remove duplicate call to set_rev_name
author
Fredrik Gustafsson
<iveqy@iveqy.com>
Mon, 17 Jun 2013 09:55:36 +0000
(11:55 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 17 Jun 2013 20:26:42 +0000
(13:26 -0700)
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>
raw
|
patch
| inline |
side by side
(from:
b545cd1
)
No differences found