* [PATCH] revision: remove declaration of path_name()
@ 2017-03-17 22:15 René Scharfe
2017-03-17 22:26 ` Jeff King
0 siblings, 1 reply; 2+ messages in thread
From: René Scharfe @ 2017-03-17 22:15 UTC (permalink / raw)
To: Git List; +Cc: Junio C Hamano, Jeff King
The definition of path_name() was removed by 2824e1841 (list-objects:
pass full pathname to callbacks); remove its declaration as well.
Signed-off-by: Rene Scharfe <l.s.r@web.de>
---
revision.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/revision.h b/revision.h
index 9fac1a607d..14886ec92b 100644
--- a/revision.h
+++ b/revision.h
@@ -259,8 +259,6 @@ extern void put_revision_mark(const struct rev_info *revs,
extern void mark_parents_uninteresting(struct commit *commit);
extern void mark_tree_uninteresting(struct tree *tree);
-char *path_name(struct strbuf *path, const char *name);
-
extern void show_object_with_name(FILE *, struct object *, const char *);
extern void add_pending_object(struct rev_info *revs,
--
2.12.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] revision: remove declaration of path_name()
2017-03-17 22:15 [PATCH] revision: remove declaration of path_name() René Scharfe
@ 2017-03-17 22:26 ` Jeff King
0 siblings, 0 replies; 2+ messages in thread
From: Jeff King @ 2017-03-17 22:26 UTC (permalink / raw)
To: René Scharfe; +Cc: Git List, Junio C Hamano
On Fri, Mar 17, 2017 at 11:15:03PM +0100, René Scharfe wrote:
> The definition of path_name() was removed by 2824e1841 (list-objects:
> pass full pathname to callbacks); remove its declaration as well.
Yep, this should have been done back then. Thanks.
-Peff
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-03-17 22:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-17 22:15 [PATCH] revision: remove declaration of path_name() René Scharfe
2017-03-17 22:26 ` Jeff King
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox