Re: [PATCH] transplant: move a series of commits to a different parent

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alex Riesen
Date: Sunday, June 24, 2007 - 11:35 am

Steffen Prohaska, Sun, Jun 24, 2007 19:13:42 +0200:

I meant: "it does not change the working directory". It is irrelevant,
was a bit of confusion on my part.

Your script works, just it can be made simplier: no need for diff,
it'll only hurt perfomance and complicates things. And you don't have
to care about additions/deletions, and it is trivially extensible to
support merges, and the current index is untouched - your user can
continue working in predictable environment.

As to perfomance: read-tree doesn't actually _read_ the blobs to
populate index, just the trees. And diff-tree has do do the same, but
also _compare_ two trees recursively: more work, more memory needed.

BTW, Johannes moved that ident code you copied from git-filter-branch
into its own shell file, so it can be sourced and trivially reused.

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] cvsimport: test case for severe branch import problem, Steffen Prohaska, (Sat Jun 23, 5:51 am)
Re: [PATCH] cvsimport: test case for severe branch import ..., Steffen Prohaska, (Sat Jun 23, 6:26 am)
[PATCH] transplant: move a series of commits to a differen ..., Steffen Prohaska, (Sat Jun 23, 12:27 pm)
Re: [PATCH] transplant: move a series of commits to a diff ..., Johannes Schindelin, (Sat Jun 23, 1:54 pm)
Re: [PATCH] transplant: move a series of commits to a diff ..., Steffen Prohaska, (Sat Jun 23, 11:55 pm)
Re: [PATCH] transplant: move a series of commits to a diff ..., Steffen Prohaska, (Sun Jun 24, 12:08 am)
Re: [PATCH] transplant: move a series of commits to a diff ..., Johannes Schindelin, (Sun Jun 24, 3:26 am)
Re: [PATCH] transplant: move a series of commits to a diff ..., Steffen Prohaska, (Sun Jun 24, 10:13 am)
Re: [PATCH] transplant: move a series of commits to a diff ..., Alex Riesen, (Sun Jun 24, 11:35 am)