Re: Linux 2.6.16.26

From: Linus Torvalds
Date: Sat Jul 15 2006 - 17:46:09 EST




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.

Linus
-
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/