Merge branch 'maint'
authorJunio C Hamano <gitster@pobox.com>
Sun, 12 Apr 2009 23:01:25 +0000 (16:01 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 12 Apr 2009 23:01:25 +0000 (16:01 -0700)
* maint:
GIT 1.6.2.3
State the effect of filter-branch on graft explicitly
process_{tree,blob}: Remove useless xstrdup calls

Conflicts:
GIT-VERSION-GEN

Documentation/RelNotes-1.6.2.3.txt
Documentation/git-filter-branch.txt
builtin-pack-objects.c
index 6560593fd5ca95a561c5347b4cbbc1c65657534e..4d3c1ac91cf3dba6a5623321944801ff5188a7c2 100644 (file)
@@ -20,9 +20,3 @@ Fixes since v1.6.2.2
   to prevent them from being repacked.
 
 Many small documentation updates are included as well.
-
----
-exec >/var/tmp/1
-echo O=$(git describe maint)
-O=v1.6.2.2-41-gbff82d0
-git shortlog --no-merges $O..maint
index 237f85e7673e90b214550e051d92c4cb0865413a..ab527b5b316a81eddd8a0eefb501448a3097182f 100644 (file)
@@ -31,6 +31,9 @@ changes, which would normally have no effect.  Nevertheless, this may be
 useful in the future for compensating for some git bugs or such,
 therefore such a usage is permitted.
 
+*NOTE*: This command honors `.git/info/grafts`. If you have any grafts
+defined, running this command will make them permanent.
+
 *WARNING*! The rewritten history will have different object names for all
 the objects and will not converge with the original branch.  You will not
 be able to easily push and distribute the rewritten branch on top of the
index 99181fd7ee863fd7e1932a5d570defb57e1d1d93..e58d300e3fc9e260fde122168ccdd880b6ad81d4 100644 (file)
@@ -1912,6 +1912,8 @@ static void show_object(struct object_array_entry *p)
        add_preferred_base_object(p->name);
        add_object_entry(p->item->sha1, p->item->type, p->name, 0);
        p->item->flags |= OBJECT_ADDED;
+       free((char *)p->name);
+       p->name = NULL;
 }
 
 static void show_edge(struct commit *commit)