summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fa1b4d2)
raw | patch | inline | side by side (parent: fa1b4d2)
author | Junio C Hamano <junkio@cox.net> | |
Wed, 7 Feb 2007 18:56:38 +0000 (10:56 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 7 Feb 2007 18:56:38 +0000 (10:56 -0800) |
Earlier, when a path that was removed from the working tree was
chosen for update subcommand, you got an error like this:
error: git-resolve.sh: does not exist and --remove not passed
fatal: Unable to process file git-resolve.sh
Signed-off-by: Junio C Hamano <junkio@cox.net>
chosen for update subcommand, you got an error like this:
error: git-resolve.sh: does not exist and --remove not passed
fatal: Unable to process file git-resolve.sh
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-add--interactive.perl | patch | blob | history |
index 0057f865886753afb9493a2e82b11fe14aa91529..dc3038091dd7db7dd4bb96cf8832df789b4d127f 100755 (executable)
#!/usr/bin/perl -w
-
use strict;
sub run_cmd_pipe {
HEADER => $status_head, },
@mods);
if (@update) {
- system(qw(git update-index --add --),
+ system(qw(git update-index --add --remove --),
map { $_->{VALUE} } @update);
say_n_paths('updated', @update);
}