summaryrefslogtreecommitdiff
path: root/reachable.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2009-04-08 23:22:05 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-04-08 23:22:05 -0700
commitf7af75777fd5a217d43acb2098cf043a73c20b01 (patch)
treef19af42d6785fa427437250f8125c7fe9f6fceef /reachable.c
parentMerge branch 'jc/maint-1.6.0-blame-s' into maint-1.6.1 (diff)
parentprocess_{tree,blob}: Remove useless xstrdup calls (diff)
downloadtgif-f7af75777fd5a217d43acb2098cf043a73c20b01.tar.xz
Merge branch 'maint-1.6.0' into maint-1.6.1
* maint-1.6.0: process_{tree,blob}: Remove useless xstrdup calls
Diffstat (limited to 'reachable.c')
-rw-r--r--reachable.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/reachable.c b/reachable.c
index 3b1c18ff9b..b515fa2de3 100644
--- a/reachable.c
+++ b/reachable.c
@@ -48,7 +48,6 @@ static void process_tree(struct tree *tree,
obj->flags |= SEEN;
if (parse_tree(tree) < 0)
die("bad tree object %s", sha1_to_hex(obj->sha1));
- name = xstrdup(name);
add_object(obj, p, path, name);
me.up = path;
me.elem = name;