aboutsummaryrefslogtreecommitdiff
path: root/submodule.h
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2017-03-26 16:01:35 +0000
committerJunio C Hamano <gitster@pobox.com>2017-03-28 09:59:34 -0700
commit2eb80bcdcc2d16ff1e73dc2f2171f7f1ef6e9f29 (patch)
tree12548f87cde97140ebbb089c3ed55ee863586573 /submodule.h
parentd2b7d9c7edc549e7ec19f4a7681adc7bfbaa6b89 (diff)
downloadgit-2eb80bcdcc2d16ff1e73dc2f2171f7f1ef6e9f29.tar.gz
git-2eb80bcdcc2d16ff1e73dc2f2171f7f1ef6e9f29.tar.xz
submodule: convert check_for_new_submodule_commits to object_id
All of the callers of this function have been converted, so convert this function and update the callers. This function also calls sha1_array_append, which we'll convert shortly. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> 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 c8a0c9cb2..9c32b28b1 100644
--- a/submodule.h
+++ b/submodule.h
@@ -58,7 +58,7 @@ extern void show_submodule_inline_diff(FILE *f, const char *path,
const char *del, const char *add, const char *reset,
const struct diff_options *opt);
extern void set_config_fetch_recurse_submodules(int value);
-extern void check_for_new_submodule_commits(unsigned char new_sha1[20]);
+extern void check_for_new_submodule_commits(struct object_id *oid);
extern int fetch_populated_submodules(const struct argv_array *options,
const char *prefix, int command_line_option,
int quiet, int max_parallel_jobs);