1. Stefan Saasen
  2. git


Junio C Hamano  committed bc69776 Merge

Merge branch 'maint-1.6.0' into maint-1.6.1

* maint-1.6.0:
State the effect of filter-branch on graft explicitly
process_{tree,blob}: Remove useless xstrdup calls

  • Participants
  • Parent commits f7af757, c6d8f76
  • Branches master

Comments (0)

Files changed (2)

File Documentation/git-filter-branch.txt

View file
  • Ignore whitespace
 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

File builtin-pack-objects.c

View file
  • Ignore whitespace
 	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)