aboutsummaryrefslogtreecommitdiff
path: root/reachable.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-04-08 23:41:27 -0700
committerJunio C Hamano <gitster@pobox.com>2009-04-08 23:47:23 -0700
commit796b13781aecce551b8f92049a66646e60f31dce (patch)
treefaa8f227f6ba5a02bb6d4668ebe5f83b04c43c54 /reachable.c
parent6da14ee14f85fe5766780e1cbe8d42d385638e9e (diff)
parentdb12d97542762cdb54d332ea047122f1071132b5 (diff)
downloadgit-796b13781aecce551b8f92049a66646e60f31dce.tar.gz
git-796b13781aecce551b8f92049a66646e60f31dce.tar.xz
Merge branch 'maint'
* maint: Start 1.6.2.3 preparation process_{tree,blob}: Remove useless xstrdup calls git-pull.sh: better warning message for "git pull" on detached head. Conflicts: RelNotes
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 3b1c18ff9..b515fa2de 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;