Jacob Keller <jacob.kel...@gmail.com> writes:

> It wants to commit bar too because you already added bar before. It works 
> like:
> "git add bar && git add -p foo && git commit" does it not?
> I fail to see why "git commit -p <path>" would unstage the bar you
> already added? Or am I missing some assumption here?

Yet the commit message comment says:
# Explicit paths specified without -i or -o; assuming --only paths...

But files are committed which were not given on the command line.

My confusion is that I use "git commit" with explicit files, yet other
files are committed.  AFAICS, this only happens with -p.

Christian Neukirchen  <chneukirc...@gmail.com>  http://chneukirchen.org

Reply via email to