threads / patch / 45415

patchrevision: remove declaration of path_name()

Subject: [PATCH] revision: remove declaration of path_name()

## tl;dr

2 messages between Mar 17, 2017 and Mar 17, 2017. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

René Scharfe· Mar 17, 2017, 22:15 UTC · lore

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(-)
Show changes to revision.h +0 −2
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
Jeff King· Mar 17, 2017, 22:26 UTC · re: René Scharfe · lore

Re: [PATCH] revision: remove declaration of path_name()

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

← back to recent threads