Re: Linux 2.6.16.26

From: Greg KH
Date: Sat Jul 15 2006 - 19:33:05 EST


On Sat, Jul 15, 2006 at 02:40:30PM -0700, Linus Torvalds wrote:
> On Sat, 15 Jul 2006, Willy Tarreau wrote:
> >
> > You would need to git-reset then git-commit
>
> Actually, these days we suggest doing
>
> git commit --amend
>
> instead to change the top commit if you mis-type something or find a
> problem.
>
> But, as you point out:
>
> > but it's a little bit dirty
> > and my annoy the users who will have already fetched your tree.
>
> Indeed. Something that has already been exported should _not_ be amended,
> because it generates a whole new commit, and people who have already
> gotten the old one would be unhappy.

Yes, I'll just live with it and remember this for next time.

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/