Johannes Schindelin
d6336bcd6a
Windows: add support for a Windows-wide configuration
...
Between the libgit2 and the Git for Windows project, there has been a
discussion how we could share Git configuration to avoid duplication (or
worse: skew).
Earlier, libgit2 was nice enough to just re-use Git for Windows'
C:\Program Files (x86)\Git\etc\gitconfig
but with the upcoming Git for Windows 2.x, there would be more paths to
search, as we will have 64-bit and 32-bit versions, and the
corresponding config files will be in %PROGRAMFILES%\Git\mingw64\etc and
...\mingw32\etc, respectively.
Worse: there are portable Git for Windows versions out there which live
in totally unrelated directories, still.
Therefore we came to a consensus to use `%PROGRAMDATA%\Git\config` as the
location for shared Git settings that are of wider interest than just Git
for Windows.
On XP, there is no %PROGRAMDATA%, therefore we need to use
"%ALLUSERSPROFILE%\Application Data\Git\config" in those setups.
Of course, the configuration in `%PROGRAMDATA%\Git\config` has the
widest reach, therefore it must take the lowest precedence, i.e. Git for
Windows can still override settings in its `etc/gitconfig` file.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de >
2016-10-04 11:32:20 +02:00
..
2016-06-27 06:11:57 -07:00
2016-10-03 13:24:18 -07:00
2016-09-08 21:35:57 -07:00
2016-01-12 15:16:54 -08:00
2016-06-28 08:36:45 -07:00
2016-10-04 11:32:20 +02:00
2016-06-08 12:04:37 -07:00
2016-07-28 11:25:54 -07:00
2016-06-28 08:36:45 -07:00
2016-06-28 08:36:45 -07:00
2016-08-08 14:21:44 -07:00
2016-05-09 15:44:14 -07:00
2016-07-28 11:25:54 -07:00
2016-09-12 15:03:32 -07:00
2016-07-13 11:24:14 -07:00
2016-03-24 10:16:52 -07:00
2016-06-08 12:04:37 -07:00
2016-06-28 08:36:45 -07:00
2015-12-16 10:18:34 -08:00
2016-06-28 08:36:45 -07:00
2016-02-01 13:07:41 -08:00
2016-06-28 08:36:45 -07:00
2015-10-16 15:27:52 -07:00
2016-05-09 15:44:14 -07:00
2016-09-21 11:12:41 -07:00
2016-09-21 08:44:41 -07:00
2016-07-28 11:25:54 -07:00
2016-06-28 08:20:52 -07:00
2016-07-11 10:44:12 -07:00
2016-07-28 11:25:54 -07:00
2016-07-28 11:25:54 -07:00
2016-10-04 11:32:20 +02:00
2016-02-23 12:56:27 -08:00
2016-06-28 08:36:45 -07:00
2016-10-03 13:22:25 -07:00
2016-06-28 08:36:45 -07:00
2016-06-28 08:36:45 -07:00
2016-06-28 08:36:45 -07:00
2016-06-28 08:36:45 -07:00
2016-06-28 08:36:45 -07:00
2016-06-28 08:36:45 -07:00
2016-07-13 11:24:14 -07:00
2016-06-28 08:36:45 -07:00
2016-07-06 11:48:25 -07:00
2016-06-28 08:36:45 -07:00
2015-10-16 15:27:52 -07:00
2016-06-28 08:36:45 -07:00
2016-07-06 13:06:34 -07:00
2016-07-18 15:15:59 -07:00
2016-06-08 12:04:55 -07:00
2015-10-16 15:27:52 -07:00
2016-06-28 08:36:45 -07:00
2016-06-28 08:36:45 -07:00
2015-10-16 15:27:52 -07:00
2016-06-28 08:36:45 -07:00
2016-06-08 12:04:37 -07:00
2016-06-28 08:36:45 -07:00
2016-07-06 13:06:34 -07:00
2016-06-08 12:04:55 -07:00
2016-06-28 08:36:45 -07:00
2016-07-11 10:31:08 -07:00
2016-08-25 13:38:18 -07:00
2016-01-19 10:07:56 -08:00
2016-06-28 08:36:45 -07:00
2016-05-26 13:17:14 -07:00
2016-06-06 11:14:43 -07:00
2015-10-29 12:10:23 -07:00
2016-04-21 11:58:51 -07:00
2015-10-16 15:27:52 -07:00
2016-06-28 08:20:52 -07:00
2016-06-28 08:20:52 -07:00
2016-06-28 08:20:52 -07:00
2016-07-28 11:25:54 -07:00
2016-08-10 10:55:13 -07:00
2015-10-16 15:27:52 -07:00
2016-03-21 13:30:36 -07:00
2016-09-08 21:35:53 -07:00
2016-06-08 12:04:37 -07:00
2016-07-28 11:25:54 -07:00
2016-08-11 14:35:42 -07:00
2016-06-28 08:36:45 -07:00
2016-08-12 09:47:35 -07:00
2016-06-08 12:04:37 -07:00
2015-09-14 12:50:33 -07:00
2015-10-05 12:30:13 -07:00
2016-06-28 08:36:45 -07:00
2016-07-28 11:25:54 -07:00
2016-06-28 08:36:45 -07:00
2016-06-08 12:04:37 -07:00
2016-06-28 08:20:52 -07:00
2016-06-28 08:36:45 -07:00
2015-10-16 15:27:52 -07:00
2016-06-28 08:36:45 -07:00
2015-08-31 11:29:04 -07:00
2015-09-21 10:48:23 -07:00
2015-10-16 15:27:52 -07:00
2016-05-27 10:40:46 -07:00
2016-07-28 11:25:54 -07:00
2016-07-28 11:25:54 -07:00
2015-10-16 15:27:52 -07:00
2016-06-28 08:36:45 -07:00
2015-10-22 10:16:12 -07:00
2016-05-31 10:17:20 -07:00
2016-07-06 13:06:36 -07:00
2016-06-28 08:36:45 -07:00
2016-07-28 10:34:42 -07:00
2016-10-04 11:32:20 +02:00
2016-09-08 21:35:52 -07:00
2016-06-28 08:36:45 -07:00
2016-02-26 10:58:14 -08:00
2016-09-22 11:23:45 -07:00
2016-06-28 08:36:45 -07:00
2016-10-04 11:32:02 +02:00
2016-07-14 15:50:17 -07:00
2016-06-08 12:04:55 -07:00
2016-09-19 13:51:38 -07:00
2016-08-11 14:35:42 -07:00
2016-06-28 08:36:45 -07:00
2016-08-13 19:36:44 -07:00
2016-02-01 13:07:41 -08:00
2016-06-08 12:04:37 -07:00
2016-06-08 12:04:37 -07:00
2016-05-18 14:40:14 -07:00
2016-05-10 11:15:04 -07:00
2016-10-04 11:32:08 +02:00
2016-06-08 12:04:37 -07:00
2016-05-17 14:38:39 -07:00
2016-02-22 10:42:52 -08:00
2016-09-19 13:51:38 -07:00
2016-07-06 13:06:34 -07:00
2016-09-19 13:51:38 -07:00
2016-09-19 13:51:38 -07:00
2016-08-26 15:58:10 -07:00
2015-10-22 10:16:12 -07:00
2016-02-01 13:07:41 -08:00
2016-10-04 11:32:02 +02:00