Re: [PATCH] Improve --patch option documentation in git-add (updated patch)
Quoting Jari Aalto <jari.aalto@cante.net>
Show 47 quoted lines
> Sean Estabrooks <seanlkml@sympatico.ca> writes:
>> ... To me though, it seems more difficult to parse this description
>> than the one offered by Junio in an earlier thread ...perhaps you'd
>> consider something closer to yours, such as:
>>
>> Interactively review the differences between the index and the
>> work tree and choose which hunks to add into the index.
>>
>> This effectively runs ``add --interactive``, but bypasses the
>> initial command menu and jumps directly to the `patch` subcommand.
>> See ``Interactive mode'' for details.
>
>
> Updated, thanks,
> Jari
>
>
> From be5eebc53c2e3dcf67edfb371d8aa8263e1a8d69 Mon Sep 17 00:00:00 2001
> From: Jari Aalto <jari.aalto@cante.net>
> Date: Tue, 15 Sep 2009 08:33:51 +0300
> Subject: [PATCH] Improve --patch option documentation in git-add
>
> Signed-off-by: Jari Aalto <jari.aalto@cante.net>
> ---
> Documentation/git-add.txt | 9 ++++++---
> 1 files changed, 6 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt
> index e67b7e8..c57895a 100644
> --- a/Documentation/git-add.txt
> +++ b/Documentation/git-add.txt
> @@ -72,9 +72,12 @@ OPTIONS
>
> -p::
> --patch::
> - Similar to Interactive mode but the initial command loop is
> - bypassed and the 'patch' subcommand is invoked using each of
> - the specified filepatterns before exiting.
> + Interactively review the differences between the index and the
> + work tree and choose which hunks to add into the index.
> +
> + This effectively runs ``add --interactive``, but bypasses the
> + initial command menu and jumps directly to the `patch` subcommand.
> + See ``Interactive mode'' for details.
>
> -e, \--edit::
> Open the diff vs. the index in an editor and let the user
Sorry, but this patch doesn't seem to apply anywhere. Have you fetched recently?
--
Nanako Shiraishi
http://ivory.ap.teacup.com/nanako3/