Skip to content

Commit

Permalink
Merge branch 'maint'
Browse files Browse the repository at this point in the history
* maint:
  Document core.excludesfile for git-add
  git-send-email: allow leading white space on mutt aliases
  • Loading branch information
Junio C Hamano committed May 18, 2007
2 parents 5f85505 + 164b198 commit 8299886
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions Documentation/git-add.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,15 @@ OPTIONS
for command-line options).


Configuration
-------------

The optional configuration variable 'core.excludesfile' indicates a path to a
file containing patterns of file names to exclude from git-add, similar to
$GIT_DIR/info/exclude. Patterns in the exclude file are used in addition to
those in info/exclude. See link:repository-layout.html[repository layout].


EXAMPLES
--------
git-add Documentation/\\*.txt::
Expand Down
2 changes: 1 addition & 1 deletion git-send-email.perl
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ sub format_2822_time {
my %parse_alias = (
# multiline formats can be supported in the future
mutt => sub { my $fh = shift; while (<$fh>) {
if (/^alias\s+(\S+)\s+(.*)$/) {
if (/^\s*alias\s+(\S+)\s+(.*)$/) {
my ($alias, $addr) = ($1, $2);
$addr =~ s/#.*$//; # mutt allows # comments
# commas delimit multiple addresses
Expand Down

0 comments on commit 8299886

Please sign in to comment.