summaryrefslogtreecommitdiffstats
path: root/refs.h
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-05-17 10:19:14 +0200
committerJunio C Hamano <gitster@pobox.com>2024-05-17 19:33:39 +0200
commit2bb444b19669efaa3c50621b54e8bcd98ea5442d (patch)
tree948371e5d88d8918ff2f9d790330d6759bf23ffa /refs.h
parentrefs: drop `git_default_branch_name()` (diff)
downloadgit-2bb444b19669efaa3c50621b54e8bcd98ea5442d.tar.xz
git-2bb444b19669efaa3c50621b54e8bcd98ea5442d.zip
refs: remove `dwim_log()`
Remove `dwim_log()` in favor of `repo_dwim_log()` so that we can get rid of one more dependency on `the_repository`. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs.h')
-rw-r--r--refs.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/refs.h b/refs.h
index e906dbb44a..82022d300c 100644
--- a/refs.h
+++ b/refs.h
@@ -164,7 +164,6 @@ int expand_ref(struct repository *r, const char *str, int len, struct object_id
int repo_dwim_ref(struct repository *r, const char *str, int len,
struct object_id *oid, char **ref, int nonfatal_dangling_mark);
int repo_dwim_log(struct repository *r, const char *str, int len, struct object_id *oid, char **ref);
-int dwim_log(const char *str, int len, struct object_id *oid, char **ref);
/*
* Retrieves the default branch name for newly-initialized repositories.