Re: Re: [PATCH v4 0/4] git-submodule add: Add --local-branch option
Hi,
I just realized that I gave you an confusing suggestion.
On Tue, Nov 27, 2012 at 07:31:25PM +0100, Heiko Voigt wrote:
Show 6 quoted lines
> if test "$subsha1" != "$sha1"
> then
> handle_on_demand_fetch_update ...
> else
> handle_tracked_branch_update ...
> fi
That obviously does not work. Here I meant of course something like:
if test "$update_module" = "branch"
then
handle_tracked_branch_update ...
else
handle_on_demand_fetch_update ...
fi
Cheers Heiko