Re: [PATCH 1/2] add--interactive: rename [r]evert command to [r]eset
- From
Shawn O. Pearce <spearce@spearce.org>
- Date
- Oct 6, 2008, 14:55 UTC
- Message-ID
- <20081006145509.GD8203@spearce.org>
- In-Reply-To
- <b41e1729a8817f0d3cba2be1edc37513a72901dd.1223304141.git.marco-oweber@gmx.de>
Marc Weber <marco-oweber@gmx.de> wrote:
Show 15 quoted lines
> diff --git a/git-add--interactive.perl b/git-add--interactive.perl
> index da768ee..5352d16 100755
> --- a/git-add--interactive.perl
> +++ b/git-add--interactive.perl
> @@ -498,8 +498,8 @@ sub update_cmd {
> print "\n";
> }
>
> -sub revert_cmd {
> - my @update = list_and_choose({ PROMPT => 'Revert',
> +sub reset_cmd {
> + my @update = list_and_choose({ PROMPT => 'Reset',
> HEADER => $status_head, },
> list_modified());
> if (@update) {This patch is mangled. The context line immediately above is indented with tabs in the source file, but is 8 spaces in the patch. The patch doesn't apply.
-- Shawn.