]> git.proxmox.com Git - libgit2.git/commit - tests/libgit2/submodule/modify.c
Fix git_submodule_sync writing URL to wrong key.
authorPatrick Steinhardt <ps@pks.im>
Thu, 12 Mar 2015 15:05:07 +0000 (16:05 +0100)
committerPatrick Steinhardt <ps@pks.im>
Thu, 12 Mar 2015 15:05:07 +0000 (16:05 +0100)
commite6903ea278c43895cce234bb956b31570b4bbb07
treeeba3fe7e0d518b256079de91856052911d992134
parent15f581747c57f1bb5f3c3a173139789ec759c964
Fix git_submodule_sync writing URL to wrong key.

Currently git_submodule_sync writes the submodule's URL to the
key 'branch.<REMOTE_NAME>.remote' while the reference
implementation of `git submodule sync` writes to
'remote.<REMOTE_NAME>.url', which is the intended behavior
according to git-submodule(1).
src/submodule.c
tests/submodule/modify.c