]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'po/etc-gitattributes'
authorJunio C Hamano <gitster@pobox.com>
Wed, 29 Sep 2010 20:47:51 +0000 (13:47 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 29 Sep 2010 20:47:51 +0000 (13:47 -0700)
* po/etc-gitattributes:
  Add global and system-wide gitattributes

Conflicts:
Documentation/config.txt
Makefile

1  2 
Documentation/config.txt
Documentation/gitattributes.txt
Makefile
configure.ac
t/t0003-attributes.sh

index d82c0da2cf470dbfe7936762d4645b7509647177,a043d55459424cc02d4ec63637c523bdfc011894..e6d74e6ade440a9ea26c4e2f22d54aad6cf6044e
@@@ -450,15 -450,12 +450,21 @@@ core.excludesfile:
        to the value of `$HOME` and "{tilde}user/" to the specified user's
        home directory.  See linkgit:gitignore[5].
  
 +core.askpass::
 +      Some commands (e.g. svn and http interfaces) that interactively
 +      ask for a password can be told to use an external program given
 +      via the value of this variable. Can be overridden by the 'GIT_ASKPASS'
 +      environment variable. If not set, fall back to the value of the
 +      'SSH_ASKPASS' environment variable or, failing that, a simple password
 +      prompt. The external program shall be given a suitable prompt as
 +      command line argument and write the password on its STDOUT.
 +
+ core.attributesfile::
+       In addition to '.gitattributes' (per-directory) and
+       '.git/info/attributes', git looks into this file for attributes
+       (see linkgit:gitattributes[5]). Path expansions are made the same
+       way as for `core.excludesfile`.
  core.editor::
        Commands such as `commit` and `tag` that lets you edit
        messages by launching an editor uses the value of this
Simple merge
diff --cc Makefile
index d3dcfb18a7a4dffddb8e8cc742b7c151e639549e,eadd2d734bc701cdfeed8ab21e1a2981fb0cefa3..8a56b9ab49816b003da504fe75f339c5b31f3e82
+++ b/Makefile
@@@ -1901,7 -1876,9 +1905,9 @@@ builtin/init-db.s builtin/init-db.o: EX
  
  config.s config.o: EXTRA_CPPFLAGS = -DETC_GITCONFIG='"$(ETC_GITCONFIG_SQ)"'
  
 -http.s http.o: EXTRA_CPPFLAGS = -DGIT_USER_AGENT='"git/$(GIT_VERSION)"'
+ attr.s attr.o: EXTRA_CPPFLAGS = -DETC_GITATTRIBUTES='"$(ETC_GITATTRIBUTES_SQ)"'
 +http.s http.o: EXTRA_CPPFLAGS = -DGIT_HTTP_USER_AGENT='"git/$(GIT_VERSION)"'
  
  ifdef NO_EXPAT
  http-walker.s http-walker.o: EXTRA_CPPFLAGS = -DNO_EXPAT
diff --cc configure.ac
Simple merge
Simple merge