diff options
author | Vincent Ambo <tazjin@google.com> | 2020-05-25T23·06+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2020-05-25T23·06+0100 |
commit | 93ba78d6f4632ef1c5228965e3edc8c0faf88c1e (patch) | |
tree | 85730c182a9f5f492ade8e8ccdb1c2356f9900bd /third_party/git/commit.h | |
parent | 6f8fbf4aa4b1654ab27d4829e114538761817de0 (diff) |
revert(3p/git): Revert merge of git upstream at v2.26.2 r/852
This causes cgit to serve error pages, which is undesirable. This reverts commit 5229c9b232de5bfa959ad6ebbb4c8192ac513352, reversing changes made to f2b211131f2347342dde63975b09cf603149f1a3.
Diffstat (limited to 'third_party/git/commit.h')
-rw-r--r-- | third_party/git/commit.h | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/third_party/git/commit.h b/third_party/git/commit.h index 008a0fa4a01d..f5295ca7f3ef 100644 --- a/third_party/git/commit.h +++ b/third_party/git/commit.h @@ -132,7 +132,7 @@ const void *repo_get_commit_buffer(struct repository *r, #endif /* - * Tell the commit subsystem that we are done with a particular commit buffer. + * Tell the commit subsytem that we are done with a particular commit buffer. * The commit and buffer should be the input and return value, respectively, * from an earlier call to get_commit_buffer. The buffer may or may not be * freed by this call; callers should not access the memory afterwards. @@ -383,18 +383,8 @@ int compare_commits_by_author_date(const void *a_, const void *b_, void *unused) * Verify a single commit with check_commit_signature() and die() if it is not * a good signature. This isn't really suitable for general use, but is a * helper to implement consistent logic for pull/merge --verify-signatures. - * - * The check_trust parameter is meant for backward-compatibility. The GPG - * interface verifies key trust with a default trust level that is below the - * default trust level for merge operations. Its value should be non-zero if - * the user hasn't set a minimum trust level explicitly in their configuration. - * - * If the user has set a minimum trust level, then that value should be obeyed - * and check_trust should be zero, even if the configured trust level is below - * the default trust level for merges. */ -void verify_merge_signature(struct commit *commit, int verbose, - int check_trust); +void verify_merge_signature(struct commit *commit, int verbose); int compare_commits_by_commit_date(const void *a_, const void *b_, void *unused); int compare_commits_by_gen_then_commit_date(const void *a_, const void *b_, void *unused); |