Re: [PATCH v3 3/5] submodule.c: add .gitmodules staging helper functions

2013-07-30 Thread Jens Lehmann
Am 30.07.2013 23:37, schrieb Junio C Hamano: > Jens Lehmann writes: > >> +int is_staging_gitmodules_ok() > > Will tweak this to: > > int is_staging_gitmodules_ok(void) > > and fix this as well: > >> +int is_staging_gitmodules_ok(); >> +void stage_updated_gitmodules(void); > > > before

Re: [PATCH v3 3/5] submodule.c: add .gitmodules staging helper functions

2013-07-30 Thread Junio C Hamano
Jens Lehmann writes: > +int is_staging_gitmodules_ok() Will tweak this to: int is_staging_gitmodules_ok(void) and fix this as well: > +int is_staging_gitmodules_ok(); > +void stage_updated_gitmodules(void); before queuing. Thanks. -- To unsubscribe from this list: send the line "un

[PATCH v3 3/5] submodule.c: add .gitmodules staging helper functions

2013-07-30 Thread Jens Lehmann
Add the new is_staging_gitmodules_ok() and stage_updated_gitmodules() functions to submodule.c. The first makes it possible for call sites to see if the .gitmodules file did contain any unstaged modifications they would accidentally stage in addition to those they intend to stage themselves. The se