submodule-config: keep configured branch around
The branch field will be used in a later patch by `submodule update`. Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
2de26ae1dc
commit
b5944f3476
@ -15,6 +15,7 @@ struct submodule {
|
||||
const char *url;
|
||||
int fetch_recurse;
|
||||
const char *ignore;
|
||||
const char *branch;
|
||||
struct submodule_update_strategy update_strategy;
|
||||
/* the sha1 blob id of the responsible .gitmodules file */
|
||||
unsigned char gitmodules_sha1[20];
|
||||
|
Reference in New Issue
Block a user