From: Fredrik Gustafsson Date: Mon, 17 Jun 2013 09:55:36 +0000 (+0200) Subject: git-submodule.sh: remove duplicate call to set_rev_name X-Git-Tag: v1.8.4-rc0~134^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/b545cd15af873fe15e692daaa6e804b191b451cc?hp=b545cd15af873fe15e692daaa6e804b191b451cc 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 Signed-off-by: Junio C Hamano ---