author | Jonathan Nieder <jrnieder@gmail.com> | |
Wed, 1 Dec 2010 18:50:46 +0000 (12:50 -0600) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 7 Dec 2010 00:41:44 +0000 (16:41 -0800) | ||
commit | 502dc5b663fe3fe241accca5eda28a94d674fbb6 | |
tree | 511ad4b094770ed76222d3559f5da6434c5f9e3b | tree | snapshot |
parent | 87b50542a08ac6caa083ddc376e674424e37940a | commit | diff |
git submodule -b ... of current HEAD fails
git submodule add -b $branch $repository
fails when HEAD already points to $branch in $repository.
Reported-by: Klaus Ethgen <Klaus@Ethgen.de>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Acked-by: Jens Lehmann <Jens.Lehmann@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git submodule add -b $branch $repository
fails when HEAD already points to $branch in $repository.
Reported-by: Klaus Ethgen <Klaus@Ethgen.de>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Acked-by: Jens Lehmann <Jens.Lehmann@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-submodule.sh | diff | blob | history |