* git commit -p? --loop?
@ 2008-09-03 8:18 Ittay Dror
2008-09-03 14:01 ` Sverre Rabbelier
0 siblings, 1 reply; 2+ messages in thread
From: Ittay Dror @ 2008-09-03 8:18 UTC (permalink / raw)
To: git
Hi,
I find that many times I make changes to some files that should be part
of different commits. What I do then is run 'git add -p' and 'git
commit' several times until I commit all hunks. Does it make sense to
anyone to add -p option following a '-a' and '--loop' option (that will
run until user requests to end or nothing to commit)?
Thanks,
Ittay
--
--
Ittay Dror <ittay.dror@gmail.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: git commit -p? --loop?
2008-09-03 8:18 git commit -p? --loop? Ittay Dror
@ 2008-09-03 14:01 ` Sverre Rabbelier
0 siblings, 0 replies; 2+ messages in thread
From: Sverre Rabbelier @ 2008-09-03 14:01 UTC (permalink / raw)
To: Ittay Dror; +Cc: git
On Wed, Sep 3, 2008 at 10:18, Ittay Dror <ittay.dror@gmail.com> wrote:
> I find that many times I make changes to some files that should be part of
> different commits. What I do then is run 'git add -p' and 'git commit'
> several times until I commit all hunks. Does it make sense to anyone to add
> -p option following a '-a' and '--loop' option (that will run until user
> requests to end or nothing to commit)?
I wonder if "git commit --interactive" would not suit your needs?
--
Cheers,
Sverre Rabbelier
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-09-03 14:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-03 8:18 git commit -p? --loop? Ittay Dror
2008-09-03 14:01 ` Sverre Rabbelier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).