diff options
author | 2009-04-08 23:41:27 -0700 | |
---|---|---|
committer | 2009-04-08 23:47:23 -0700 | |
commit | 796b13781aecce551b8f92049a66646e60f31dce (patch) | |
tree | faa8f227f6ba5a02bb6d4668ebe5f83b04c43c54 /list-objects.c | |
parent | Merge branch 'maint' (diff) | |
parent | Start 1.6.2.3 preparation (diff) | |
download | tgif-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 'list-objects.c')
-rw-r--r-- | list-objects.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/list-objects.c b/list-objects.c index c8b8375e49..dd243c7c66 100644 --- a/list-objects.c +++ b/list-objects.c @@ -23,7 +23,6 @@ static void process_blob(struct rev_info *revs, if (obj->flags & (UNINTERESTING | SEEN)) return; obj->flags |= SEEN; - name = xstrdup(name); add_object(obj, p, path, name); } @@ -78,7 +77,6 @@ static void process_tree(struct rev_info *revs, if (parse_tree(tree) < 0) die("bad tree object %s", sha1_to_hex(obj->sha1)); obj->flags |= SEEN; - name = xstrdup(name); add_object(obj, p, path, name); me.up = path; me.elem = name; |