Re: [RFC] git commit --branch

From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Date: 2006-05-30 07:14:32
Hi,

On Mon, 29 May 2006, Martin Waitz wrote:

> Sometimes it is neccessary to have some local modifications in the tree
> in order to test it and work with it.

Doesn't

$ git-update-index $(git-ls-files --modified)
$ git-checkout -b tempBranch
$ git-commit -m "to test"

work? It also avoids totally bogus parents (if I read your patch 
correctly, you take the current HEAD as the true parent, but record the 
current HEAD of the other branch as parent nevertheless).

Ciao,
Dscho
-
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
Received on Tue May 30 07:15:06 2006

This archive was generated by hypermail 2.1.8 : 2006-05-30 07:15:27 EST