On Fri, 5 Aug 2005, Junio C Hamano wrote:
> - Teach fetch-pack reference renaming.
Well, the fetch side at least needs it less.
Right now the renaming means that you can only really fetch _one_ head at
a time, but that's at least a fairly common and important case, and you
can do the rest from there.
And doing only one means that git-fetch-pack can just return the result
SHA1 of the head it was asked to fetch. In fact, even that could just be
extended to returning multiple heads: just return each SHA1 in order. No
"renaming" necessary, since it's then up to the user what to do with the
In fact, many users don't even want to write the result to a ref _at_all_:
they just use the raw name - no refs - to merge.
So arguably it is _wrong_ to make git-fetch-pack write refs, because that
just leads to the problem with temporary refs etc. "Local variables are
> These are not 1.0 showstopper items but what I personally would
> love to see.
> - teach mailsplit/mailinfo basic MIME (attachments and quoted-printable)
> Some people send patches in MIME quoted-printable. I could
> drop them on the floor and ask the sender to resend, but I've
> been being a nice guy, which currently involves manual
This really is a nasty problem. People add their own commentary etc, and
the fact is, the maintainer _needs_ to edit it.
Otherwise you'll have people saying "Hi there, I really like this thing,
but I have this problem which this patch fixes" etc, which is all very
nice, but dammit, that's simply not changelog material.
Also, I definitely myself end up editing patches occasionally: fixing
things up. Again, this is simply a major pain if the patch comes in as an
So there are tons of reasons to just try to teach people that attachments
are painful. Much better to teach people not to use them than having
people use them and the tools "working" with them.
> - teach git-apply "reverse" and possibly "fuzz".
> I think this might help Porcelain; currently they have to
> interpret git extended diff headers themselves.
Reverse would definitely be useful. "fuzz" is really pretty dangerous. I
think that once a a patch doesn't apply, you really want to have helper
tools like a graphical "wiggle" etc, and that really means that it's not
"git-apply", it's something totally different.
And quite frankly, if you have a tool that can handle unified diffs
already, then extending it for the git rename stuff should be pretty easy.
It's not like we haven't wanted renaming patches for at least a _decade_
already, it's just that nobody ever did them.
So I'm hoping that git can act as a impetus for people to just finally
have a standard way of saying "rename". EVERYBODY wants it. Anybody who
ever sees a rename as a patch will always go "damn, it would be nice to
have renames". And dammit, we have them, so let's try to push out the
And if that means that we should use rename patches and let non-git users
have some pain until they say "ok, ok, it's a good idea, I'll do it.
Uncle, uncle!", then maybe the world will be a better place. It's not like
they can't see how git-apply does it already ;)
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html