diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-12-13 21:58:51 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-12-13 21:58:51 -0800 |
commit | 8311158c66e0d83df950ea837fb1cb332c51f798 (patch) | |
tree | d36f54375886bb0939416986d92aa8842ce29711 /submodule.c | |
parent | 10dd3b2bf1444695416c0dac951297acf7d4e5e4 (diff) | |
parent | 66c11f02b031aca6f1756086fefdf4b8a5575c56 (diff) | |
download | git-8311158c66e0d83df950ea837fb1cb332c51f798.tar.gz |
Merge branch 'maint-1.7.7' into maint
* maint-1.7.7:
Git 1.7.7.5
Git 1.7.6.5
blame: don't overflow time buffer
fetch: create status table using strbuf
checkout,merge: loosen overwriting untracked file check based on info/exclude
cast variable in call to free() in builtin/diff.c and submodule.c
apply: get rid of useless x < 0 comparison on a size_t type
Conflicts:
Documentation/git.txt
GIT-VERSION-GEN
RelNotes
builtin/fetch.c
Diffstat (limited to 'submodule.c')
-rw-r--r-- | submodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/submodule.c b/submodule.c index 0fd10a0fdb..52cdcc6a63 100644 --- a/submodule.c +++ b/submodule.c @@ -391,7 +391,7 @@ static void commit_need_pushing(struct commit *commit, struct commit_list *paren rev.diffopt.format_callback_data = needs_pushing; diff_tree_combined(commit->object.sha1, parents, n, 1, &rev); - free(parents); + free((void *)parents); } int check_submodule_needs_pushing(unsigned char new_sha1[20], const char *remotes_name) |