summaryrefslogtreecommitdiff
path: root/submodule.h
diff options
context:
space:
mode:
authorJacob Keller <jacob.keller@gmail.com>2016-08-31 23:27:23 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-09-01 01:07:10 (GMT)
commit602a283afb225ea094f4582e02e94cfd7f5cabf0 (patch)
tree1d85b1ee06d04791e238c036c0e222c9081e18a1 /submodule.h
parent99b43a61f2daf5fe183056e5bf2a75a8a81a28bf (diff)
downloadgit-602a283afb225ea094f4582e02e94cfd7f5cabf0.zip
git-602a283afb225ea094f4582e02e94cfd7f5cabf0.tar.gz
git-602a283afb225ea094f4582e02e94cfd7f5cabf0.tar.bz2
submodule: convert show_submodule_summary to use struct object_id *
Since we're going to be changing this function in a future patch, lets go ahead and convert this to use object_id now. Signed-off-by: Jacob Keller <jacob.keller@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'submodule.h')
-rw-r--r--submodule.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/submodule.h b/submodule.h
index 2af9390..d83df57 100644
--- a/submodule.h
+++ b/submodule.h
@@ -43,7 +43,7 @@ const char *submodule_strategy_to_string(const struct submodule_update_strategy
void handle_ignore_submodules_arg(struct diff_options *diffopt, const char *);
void show_submodule_summary(FILE *f, const char *path,
const char *line_prefix,
- unsigned char one[20], unsigned char two[20],
+ struct object_id *one, struct object_id *two,
unsigned dirty_submodule, const char *meta,
const char *del, const char *add, const char *reset);
void set_config_fetch_recurse_submodules(int value);