aboutsummaryrefslogtreecommitdiff
path: root/t/t7406-submodule-update.sh
diff options
context:
space:
mode:
authorSpencer E. Olson <olsonse@umich.edu>2011-02-17 09:18:45 -0700
committerJunio C Hamano <gitster@pobox.com>2011-02-17 12:19:18 -0800
commit1b4735d9f3e0b7ea62c7c22f0afcb45e10c46c7e (patch)
tree587a7bdac48b280635eb73300dc4ddc129102d1b /t/t7406-submodule-update.sh
parent7ed863a85a6ce2c4ac4476848310b8f917ab41f9 (diff)
downloadgit-1b4735d9f3e0b7ea62c7c22f0afcb45e10c46c7e.tar.gz
git-1b4735d9f3e0b7ea62c7c22f0afcb45e10c46c7e.tar.xz
submodule: no [--merge|--rebase] when newly cloned
"git submodule update" can be run with either the "--merge" or "--rebase" option, or submodule.<name>.update configuration variable can be set to "merge" or "rebase, to cause local work to get integrated when updating the submodule. When a submodule is newly cloned, however, it does not have a check out when a rebase or merge is attempted, leading to a failure. For newly cloned submodules, simply check out the appropriate revision. There is no local work to integrate with for them. Signed-off-by: Spencer E. Olson <olsonse@umich.edu> Acked-by: Jens Lehmann <Jens.Lehmann@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7406-submodule-update.sh')
0 files changed, 0 insertions, 0 deletions