Re: git patch
- From
Han-Wen Nienhuys <hanwen@xs4all.nl>
- Date
- Dec 6, 2006, 11:27 UTC
- Message-ID
- <4576A916.7090801__8302.57246639139$1165404468$gmane$org@xs4all.nl>
- In-Reply-To
- <Pine.LNX.4.63.0612061147540.28348@wbgn013.biozentrum.uni-wuerzburg.de>
Johannes Schindelin escreveu:
Show 9 quoted lines
>> shows the diff of the change that he just introduced > > Okay. But you mean > > $ git commit --dry file1 file2... > > or > > $ git commit --dry -a
Well, --dry would be usable both with -a and file1, file2.
I agree with Jakub that --diff might be a better name, but it should be part of git-commit command, rather than the git-diff.
> Or, you use the script git-hunk-commit.bash which I posted. Which reminds > me: I wanted to rewrite it for you so it is more non-brand-new-bash > friendly.
:)
that's really nice, but actually recording separate hunks is a bit of a headache if you have to do it over the command line. Under darcs, I always use darcsum in emacs. In git, I always use git-status.
-- Han-Wen Nienhuys - hanwen@xs4all.nl - http://www.xs4all.nl/~hanwen