Merge branch 'maint' of git://linux-nfs.org/~bfields/git into maint
authorJunio C Hamano <junkio@cox.net>
Sat, 19 May 2007 00:13:47 +0000 (17:13 -0700)
committerJunio C Hamano <junkio@cox.net>
Sat, 19 May 2007 00:13:47 +0000 (17:13 -0700)
* 'maint' of git://linux-nfs.org/~bfields/git:
user-manual: reorganize public git repo discussion
user-manual: listing commits reachable from some refs not others
user-manual: introduce git
user-manual: add a "counting commits" example
user-manual: move howto/using-topic-branches into manual
user-manual: move howto/make-dist.txt into user manual
Documentation: remove howto's now incorporated into manual
user-manual: move quick-start to an appendix
glossary: expand and clarify some definitions, prune cross-references
user-manual: revise birdseye-view chapter
Add a birdview-on-the-source-code section to the user manual

Documentation/git-add.txt
Documentation/git-rev-list.txt
git-send-email.perl
index 755d7186f5f4a74dc84cc98c67eec0b9c86b6289..38c72b87329720c630419768c9c68cbe718d7a15 100644 (file)
@@ -62,6 +62,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::
index 11ce395c982d5eb217d13441c2668884cc371d22..fde9a7208de04a0ee3165dd7d398061270649116 100644 (file)
@@ -193,12 +193,12 @@ limiting may be applied.
 --author='pattern', --committer='pattern'::
 
        Limit the commits output to ones with author/committer
-       header lines that match the specified pattern.
+       header lines that match the specified pattern (regular expression).
 
 --grep='pattern'::
 
        Limit the commits output to ones with log message that
-       matches the specified pattern.
+       matches the specified pattern (regular expression).
 
 --remove-empty::
 
index 12ced288857c7531f964d2e08e9a7c3cc1136dbd..e60d8777f0a14234c1b695b08e37ae173dd48d26 100755 (executable)
@@ -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