summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2018-06-29 01:22:21 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-06-29 17:43:40 (GMT)
commitd9a05e74ec01bb59fccb70c005269d930cd60d9a (patch)
tree6b099c73c66d684898d04b1a627d8bde60140b30 /commit.h
parent286d258d4f8b6f67676b1c50c2fd07a577450518 (diff)
downloadgit-d9a05e74ec01bb59fccb70c005269d930cd60d9a.zip
git-d9a05e74ec01bb59fccb70c005269d930cd60d9a.tar.gz
git-d9a05e74ec01bb59fccb70c005269d930cd60d9a.tar.bz2
commit.c: allow lookup_commit_reference_gently to handle arbitrary repositories
Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.h')
-rw-r--r--commit.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/commit.h b/commit.h
index d61585d..f1f2595 100644
--- a/commit.h
+++ b/commit.h
@@ -67,9 +67,7 @@ struct commit *lookup_commit(struct repository *r, const struct object_id *oid);
#define lookup_commit_reference(r, o) \
lookup_commit_reference_##r(o)
struct commit *lookup_commit_reference_the_repository(const struct object_id *oid);
-#define lookup_commit_reference_gently(r, o, q) \
- lookup_commit_reference_gently_##r(o, q)
-struct commit *lookup_commit_reference_gently_the_repository(
+struct commit *lookup_commit_reference_gently(struct repository *r,
const struct object_id *oid,
int quiet);
struct commit *lookup_commit_reference_by_name(const char *name);