]> git.proxmox.com Git - libgit2.git/commit - tests/submodule/submodule_helpers.c
submodule: don't let status change an existing instance
authorCarlos Martín Nieto <cmn@dwim.me>
Mon, 4 May 2015 15:09:21 +0000 (17:09 +0200)
committerCarlos Martín Nieto <cmn@dwim.me>
Mon, 22 Jun 2015 15:02:55 +0000 (17:02 +0200)
commit64bbd47a32e6aaed539bafd109eef624f24fbae7
tree041d8dedeb30610522d413e424abd2ea6c4d17c3
parent5a9fc6c83c2fd12ce312d1042ec2c1e6abad4033
submodule: don't let status change an existing instance

As submodules are becomes more like values, we should not let a status
check to update its properties. Instead of taking a submodule, have
status take a repo and submodule name.
include/git2/submodule.h
src/checkout.c
src/diff_file.c
src/submodule.c
tests/submodule/submodule_helpers.c
tests/submodule/update.c