summaryrefslogtreecommitdiffstats
path: root/commit.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-09-19 02:58:05 +0200
committerJunio C Hamano <gitster@pobox.com>2020-09-19 02:58:05 +0200
commit4831c23f75556df8906a508454d70faca0facd27 (patch)
tree755cd01f2b10015fc7de8c02281acd471636c868 /commit.h
parentMerge branch 'jc/quote-path-cleanup' (diff)
parentsubmodule: use submodule repository when preparing summary (diff)
downloadgit-4831c23f75556df8906a508454d70faca0facd27.tar.xz
git-4831c23f75556df8906a508454d70faca0facd27.zip
Merge branch 'mf/submodule-summary-with-correct-repository'
"git diff/show" on a change that involves a submodule used to read the information on commits in the submodule from a wrong repository and gave a wrong information when the commit-graph is involved. * mf/submodule-summary-with-correct-repository: submodule: use submodule repository when preparing summary revision: use repository from rev_info when parsing commits
Diffstat (limited to 'commit.h')
-rw-r--r--commit.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/commit.h b/commit.h
index bd73b84472..e6f8f7c26f 100644
--- a/commit.h
+++ b/commit.h
@@ -95,7 +95,6 @@ static inline int parse_commit_no_graph(struct commit *commit)
#ifndef NO_THE_REPOSITORY_COMPATIBILITY_MACROS
#define parse_commit_internal(item, quiet, use) repo_parse_commit_internal(the_repository, item, quiet, use)
-#define parse_commit_gently(item, quiet) repo_parse_commit_gently(the_repository, item, quiet)
#define parse_commit(item) repo_parse_commit(the_repository, item)
#endif