Re: [PATCHv2 3/3] git-add: rename -u to -a

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Feb 27, 2011 at 10:50 PM, Michael J Gruber
<git@xxxxxxxxxxxxxxxxxxxx> wrote:
> @@ -320,8 +320,9 @@ static struct option builtin_add_options[] = {
> Â Â Â ÂOPT_BOOLEAN('p', "patch", &patch_interactive, "select hunks interactively"),
> Â Â Â ÂOPT_BOOLEAN('e', "edit", &edit_interactive, "edit current diff and apply"),
> Â Â Â ÂOPT__FORCE(&ignored_too, "allow adding otherwise ignored files"),
> - Â Â Â OPT_BOOLEAN('u', "update", &take_worktree_changes, "update tracked files"),
> + Â Â Â { OPTION_BOOLEAN, 'u', "update", &take_worktree_changes, NULL, "update tracked files", PARSE_OPT_HIDDEN | PARSE_OPT_NOARG },
> Â Â Â ÂOPT_BOOLEAN('N', "intent-to-add", &intent_to_add, "record only the fact that the path will be added later"),
> + Â Â Â OPT_BOOLEAN('a', "all-tracked", &take_worktree_changes, "add changes from all tracked files"),

Should -u now print warnings to help script writers migrate to -a? Or
do we plan to keep hidden -u forever?
-- 
Duy
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]