Johannes Schindelin
8e8566acdc
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 >
2015-07-28 21:11:22 +02:00
..
2015-05-21 13:03:37 -07:00
2015-07-27 12:26:40 -07:00
2015-07-13 14:00:26 -07:00
2013-02-02 21:46:52 -08:00
2013-02-01 13:53:25 -08:00
2015-05-11 14:39:28 -07:00
2013-04-03 16:14:19 -07:00
2015-05-21 13:03:37 -07:00
2015-04-21 12:12:19 -07:00
2015-07-28 21:11:22 +02:00
2013-11-12 10:47:17 -08:00
2015-03-13 22:13:46 -07:00
2015-01-28 22:22:03 -08:00
2015-05-12 22:13:39 -07:00
2015-06-16 14:33:43 -07:00
2014-10-10 16:02:26 -07:00
2015-03-13 22:13:46 -07:00
2015-05-28 12:38:46 -07:00
2015-06-05 12:00:19 -07:00
2015-07-24 10:55:24 -07:00
2015-03-13 22:13:46 -07:00
2013-02-01 13:53:33 -08:00
2014-02-28 09:55:35 -08:00
2014-11-04 13:14:44 -08:00
2014-05-21 13:57:10 -07:00
2015-06-01 15:50:43 -07:00
2015-07-27 12:21:46 -07:00
2013-02-01 13:53:33 -08:00
2015-06-01 12:45:16 -07:00
2013-09-04 12:23:25 -07:00
2015-03-13 22:13:46 -07:00
2013-07-13 10:19:37 -07:00
2013-09-12 14:39:34 -07:00
2015-07-13 14:02:19 -07:00
2015-03-30 21:49:51 -07:00
2013-11-27 12:16:49 -08:00
2015-03-13 22:56:12 -07:00
2014-10-15 14:34:45 -07:00
2014-01-27 08:34:34 -08:00
2015-03-13 22:13:46 -07:00
2015-06-16 14:33:49 -07:00
2015-07-28 21:11:22 +02:00
2014-03-31 15:16:22 -07:00
2014-09-16 11:11:58 -07:00
2013-02-01 13:53:33 -08:00
2015-03-24 08:08:02 -07:00
2013-09-06 14:49:06 -07:00
2013-02-01 13:53:33 -08:00
2014-11-04 13:14:44 -08:00
2015-03-13 22:13:46 -07:00
2014-05-21 13:57:10 -07:00
2015-06-16 13:19:34 -07:00
2013-05-20 15:50:44 -07:00
2014-03-31 15:16:22 -07:00
2014-10-28 10:36:57 -07:00
2015-05-12 22:14:46 -07:00
2015-05-12 22:14:46 -07:00
2015-05-12 22:14:46 -07:00
2015-03-13 22:13:46 -07:00
2014-11-04 13:14:44 -08:00
2015-05-28 12:38:46 -07:00
2015-05-22 09:33:09 -07:00
2015-07-15 11:41:22 -07:00
2013-05-17 12:09:21 -07:00
2015-03-13 22:13:46 -07:00
2014-03-20 12:38:00 -07:00
2013-02-01 13:53:33 -08:00
2015-05-04 14:19:23 -07:00
2014-05-21 13:57:10 -07:00
2015-06-16 14:33:45 -07:00
2013-02-01 13:53:33 -08:00
2015-03-10 15:19:05 -07:00
2013-05-28 08:07:20 -07:00
2013-02-01 13:53:33 -08:00
2015-03-13 22:13:46 -07:00
2015-03-13 22:13:46 -07:00
2014-11-04 13:14:44 -08:00
2015-05-11 14:39:28 -07:00
2014-05-21 13:57:10 -07:00
2013-06-23 00:33:58 -07:00
2014-11-25 15:24:55 -08:00
2013-10-29 13:06:08 -07:00
2013-08-09 14:19:59 -07:00
2013-04-15 11:08:37 -07:00
2013-09-04 15:02:56 -07:00
2015-05-19 13:17:57 -07:00
2013-02-01 13:53:33 -08:00
2014-04-24 11:29:05 -07:00
2013-02-01 13:53:33 -08:00
2014-01-07 14:33:04 -08:00
2013-09-04 15:03:03 -07:00
2014-11-12 11:00:11 -08:00
2015-04-20 12:36:00 -07:00
2015-05-12 22:14:46 -07:00
2013-07-18 16:23:46 -07:00
2014-06-10 13:09:24 -07:00
2014-10-13 13:35:18 -07:00
2015-06-29 08:48:44 -07:00
2015-06-02 13:36:22 -07:00
2015-06-05 12:00:19 -07:00
2014-10-13 13:35:18 -07:00
2014-05-21 13:57:10 -07:00
2015-06-05 12:00:19 -07:00
2015-03-13 22:13:46 -07:00
2015-03-05 12:35:37 -08:00
2014-11-11 14:47:04 -08:00
2014-11-11 14:47:04 -08:00
2013-02-01 14:12:34 -08:00
2013-02-07 14:41:45 -08:00
2015-03-13 22:56:05 -07:00
2015-03-13 22:13:46 -07:00
2014-07-27 15:14:18 -07:00
2014-03-13 14:22:20 -07:00
2015-03-13 22:13:46 -07:00
2014-04-08 12:00:28 -07:00
2015-07-01 09:29:11 -07:00
2015-05-22 12:41:50 -07:00
2014-03-24 10:43:34 -07:00
2014-01-07 14:34:06 -08:00
2015-06-01 15:53:11 -07:00
2015-06-05 12:00:19 -07:00
2013-10-18 13:50:12 -07:00
2014-05-08 10:26:26 -07:00
2013-04-21 23:11:02 -07:00
2014-03-31 15:16:22 -07:00
2013-04-15 11:08:37 -07:00
2014-03-31 15:16:22 -07:00
2015-05-12 22:14:46 -07:00
2014-10-13 13:35:18 -07:00
2014-02-24 09:13:30 -08:00
2015-05-26 13:24:46 -07:00
2015-06-05 12:00:21 -07:00
2015-05-28 15:18:11 -07:00
2015-05-12 22:14:46 -07:00
2012-10-21 12:17:38 -07:00
2015-06-05 12:00:19 -07:00
2013-04-12 12:00:52 -07:00
2015-05-22 09:00:17 -07:00
2015-03-12 13:45:18 -07:00
2014-04-07 12:09:13 -07:00
2014-02-28 09:55:37 -08:00
2013-02-01 13:53:33 -08:00
2013-02-01 13:53:33 -08:00
2014-06-23 15:50:31 -07:00
2015-05-17 11:24:57 -07:00
2013-04-15 11:08:37 -07:00
2014-05-21 13:57:10 -07:00
2013-08-13 09:01:54 -07:00
2015-07-16 15:59:48 -07:00
2015-07-28 21:11:22 +02:00
2015-06-24 12:21:45 -07:00
2014-05-21 13:57:10 -07:00
2015-06-05 12:00:22 -07:00
2015-03-13 22:13:46 -07:00
2014-10-10 16:02:26 -07:00
2015-05-12 22:14:46 -07:00
2015-07-28 20:46:46 +02:00
2014-10-10 16:02:26 -07:00
2015-01-08 14:28:43 -08:00
2015-03-13 22:13:46 -07:00
2015-04-20 11:05:50 -07:00
2015-03-02 14:59:55 -08:00
2013-02-01 13:53:33 -08:00
2015-05-12 22:14:46 -07:00
2014-12-01 11:00:19 -08:00
2013-02-01 13:53:33 -08:00
2014-11-19 13:47:59 -08:00
2014-11-19 13:47:59 -08:00
2015-07-21 12:45:27 -07:00
2014-02-20 14:14:58 -08:00
2013-02-01 13:53:33 -08:00
2015-05-29 13:36:47 -07:00
2014-04-17 11:14:57 -07:00
2013-02-01 13:53:33 -08:00
2014-04-17 11:14:58 -07:00
2015-04-20 11:05:50 -07:00
2013-01-05 23:41:42 -08:00
2015-07-28 21:10:56 +02:00
2015-06-25 11:02:17 -07:00
2014-03-31 15:16:22 -07:00
2014-04-03 13:39:03 -07:00
2015-06-16 14:33:43 -07:00
2015-07-27 12:21:48 -07:00
2014-06-12 09:59:13 -07:00
2015-04-28 13:00:20 -07:00
2015-05-22 09:33:08 -07:00
2015-03-28 09:33:10 -07:00
2013-02-01 13:53:33 -08:00
2013-07-21 22:51:24 -07:00
2015-07-28 20:46:46 +02:00