diff options
author | Michael Forney <mforney@mforney.org> | 2020-06-23 13:56:58 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-06-24 09:13:04 -0700 |
commit | ea3f7e598c8f1171f0bd02da777dc526cdb8424d (patch) | |
tree | c002d0b9b6597c1d969b22b6929c70e6eb3ce028 /ci/run-static-analysis.sh | |
parent | Git 2.26.2 (diff) | |
download | tgif-ea3f7e598c8f1171f0bd02da777dc526cdb8424d.tar.xz |
revision: use repository from rev_info when parsing commits
This is needed when repo_init_revisions() is called with a repository
that is not the_repository to ensure appropriate repository is used
in repo_parse_commit_internal(). If the wrong repository is used,
a fatal error is the commit-graph machinery occurs:
fatal: invalid commit position. commit-graph is likely corrupt
Since revision.c was the only user of the parse_commit_gently
compatibility define, remove it from commit.h.
Signed-off-by: Michael Forney <mforney@mforney.org>
Acked-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ci/run-static-analysis.sh')
0 files changed, 0 insertions, 0 deletions