From: Junio C Hamano Date: Wed, 29 Sep 2010 20:47:51 +0000 (-0700) Subject: Merge branch 'po/etc-gitattributes' X-Git-Tag: v1.7.4-rc0~208 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2851e8eba52e98d3112417952a24d82ae9d8c0eb;p=git.git Merge branch 'po/etc-gitattributes' * po/etc-gitattributes: Add global and system-wide gitattributes Conflicts: Documentation/config.txt Makefile --- 2851e8eba52e98d3112417952a24d82ae9d8c0eb diff --cc Documentation/config.txt index d82c0da2c,a043d5545..e6d74e6ad --- a/Documentation/config.txt +++ b/Documentation/config.txt @@@ -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 diff --cc Makefile index d3dcfb18a,eadd2d734..8a56b9ab4 --- a/Makefile +++ 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)"' + attr.s attr.o: EXTRA_CPPFLAGS = -DETC_GITATTRIBUTES='"$(ETC_GITATTRIBUTES_SQ)"' + -http.s http.o: EXTRA_CPPFLAGS = -DGIT_USER_AGENT='"git/$(GIT_VERSION)"' +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