[PATCHv3 0/7] submodule update: allow '.' for branch value
- From
Stefan Beller <sbeller@google.com>
- Date
- Jul 29, 2016, 00:44 UTC
- Message-ID
- <20160729004409.2072-1-sbeller@google.com>
This got bigger than expected, but I am happier with the results.
The meat is found in the last patch. (At least what I am interested in; others may be more interested in the second patch which could be argued to be a real bug fix to be merged down to maint.)
Thanks Junio for the thourough review of the first patches, Stefan
Stefan Beller (7): t7406: future proof tests with hard coded depth submodule update: respect depth in subsequent fetches submodule update: narrow scope of local variable submodule--helper: fix usage string for relative-path submodule-config: keep configured branch around submodule--helper: add remote-branch helper submodule update: allow '.' for branch value
builtin/submodule--helper.c | 48 ++++++++++++++++++++++++++++-- git-submodule.sh | 11 +++---- submodule-config.c | 11 ++++++- submodule-config.h | 1 + t/t7406-submodule-update.sh | 71 +++++++++++++++++++++++++++++++++++++++------ 5 files changed, 125 insertions(+), 17 deletions(-)
-- 2.9.2.472.g1ffb07c.dirty