diff options
author | Patrick Steinhardt <ps@pks.im> | 2024-05-17 10:19:14 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-05-17 19:33:39 +0200 |
commit | 2bb444b19669efaa3c50621b54e8bcd98ea5442d (patch) | |
tree | 948371e5d88d8918ff2f9d790330d6759bf23ffa /refs.h | |
parent | refs: drop `git_default_branch_name()` (diff) | |
download | git-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.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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. |