mirror of
https://github.com/git/git.git
synced 2024-10-31 22:37:54 +01:00
721ceec1ad
Since commit 8e08b4 git diff does append "-dirty" to the work tree side if the working directory of a submodule contains new or modified files. Lets do the same when the --submodule option is used. Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
10 lines
281 B
C
10 lines
281 B
C
#ifndef SUBMODULE_H
|
|
#define SUBMODULE_H
|
|
|
|
void show_submodule_summary(FILE *f, const char *path,
|
|
unsigned char one[20], unsigned char two[20],
|
|
unsigned dirty_submodule,
|
|
const char *del, const char *add, const char *reset);
|
|
int is_submodule_modified(const char *path);
|
|
|
|
#endif
|