Re: [PATCH] [BUG FIXED 2] git-add (-a|-u) and -n support
- From
Karl Hasselström <kha@treskal.com>
- Date
- Oct 15, 2007, 14:31 UTC
- Message-ID
- <20071015143137.GA7351@diana.vm.bytemark.co.uk>
- In-Reply-To
- <D44B7811-5A0F-4A31-9DB3-6D2BF645E543@MIT.EDU>
On 2007-10-14 18:00:44 -0400, Michael Witten wrote:
Show 11 quoted lines
> Here's compromise that is backwards compatible. For both git-add and > git-commit: > > -a dir [dir2 ...] => all changes in the given dirs. > -a => all changes from the root. > > Then we can just leave -u in place for now, and mark it as > deprecated. > > In any case, the goal is to make the intuition solid between > git-commit and git-add.
As I recall, Junio had some specific reason for calling the flag -u instead of -a. Search in the list archive for the patch that introduced the flag, or wait till he gets back and ask him.
--
Karl Hasselström, kha@treskal.com
www.treskal.com/kalle