Skip to content

Commit

Permalink
Merge branch 'maint'
Browse files Browse the repository at this point in the history
* maint:
  git-submodule.sh: fix filename in comment.
  git-add--interactive.perl: Remove two unused variables
  • Loading branch information
Junio C Hamano committed Jun 25, 2012
2 parents f71be5c + 4c8a9db commit 8df9be7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions git-add--interactive.perl
Original file line number Diff line number Diff line change
Expand Up @@ -1067,7 +1067,6 @@ sub edit_hunk_manually {
}

sub diff_applies {
my $fh;
return run_git_apply($patch_mode_flavour{APPLY_CHECK} . ' --check',
map { @{$_->{TEXT}} } @_);
}
Expand Down Expand Up @@ -1514,7 +1513,6 @@ sub patch_update_file {
}

if (@result) {
my $fh;
my @patch = reassemble_patch($head->{TEXT}, @result);
my $apply_routine = $patch_mode_flavour{APPLY};
&$apply_routine(@patch);
Expand Down
2 changes: 1 addition & 1 deletion git-submodule.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
#
# git-submodules.sh: add, init, update or list git submodules
# git-submodule.sh: add, init, update or list git submodules
#
# Copyright (c) 2007 Lars Hjemli

Expand Down

0 comments on commit 8df9be7

Please sign in to comment.