Matthieu Moy <[EMAIL PROTECTED]> writes:

> Michael Olson <[EMAIL PROTECTED]> writes:
>
>> How about letting C-u C-c C-c from the log-edit buffer mean "Don't
>> commit everything -- just the files that the user has added
>> themself."
>
> Something like this should be done, yes.

Sounds good to me also.

> C-u C-c C-c is an option. I was thinking of a global variable to say
> "I'm going to use -a/I'm not going to use -a" otherwise. That would
> change the behavior of commit, but potentially also the one of status
> (status -a Vs status) and diff (diff HEAD Vs diff --cached and diff).

That also makes sense.

> The drawback of this approach is that it's easy to forget the value of
> the configuration variable, and run commit thinking xgit is in a mode
> while it's actually in the other. 

It could be displayed in the header of status and diff buffers.

-- 
-- Stephe

_______________________________________________
Dvc-dev mailing list
[email protected]
https://mail.gna.org/listinfo/dvc-dev

Reply via email to