Commit 7829f20
git-svn: don't sanitize remote names in config
The original sanitization code was just taken from the
remotes2config.sh shell script in contrib.
Credit to Avery Pennarun for noticing this mistake, and Junio
for clarifying the rules for config section names:
Junio C Hamano wrote in <7vfxr23s6m.fsf@gitster.siamese.dyndns.org>:
> In
>
> [foo "bar"] baz = value
>
> foo and baz must be config.c::iskeychar() (and baz must be isalpha()), but
> "bar" can be almost anything.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent 29c70e0 commit 7829f20
1 file changed
+3
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1462 | 1462 | | |
1463 | 1463 | | |
1464 | 1464 | | |
1465 | | - | |
1466 | | - | |
1467 | | - | |
1468 | | - | |
1469 | | - | |
1470 | | - | |
1471 | | - | |
1472 | 1465 | | |
1473 | 1466 | | |
1474 | 1467 | | |
| |||
2853 | 2846 | | |
2854 | 2847 | | |
2855 | 2848 | | |
2856 | | - | |
| 2849 | + | |
2857 | 2850 | | |
2858 | 2851 | | |
2859 | 2852 | | |
| |||
4707 | 4700 | | |
4708 | 4701 | | |
4709 | 4702 | | |
4710 | | - | |
4711 | | - | |
| 4703 | + | |
4712 | 4704 | | |
4713 | 4705 | | |
4714 | 4706 | | |
| |||
4747 | 4739 | | |
4748 | 4740 | | |
4749 | 4741 | | |
4750 | | - | |
4751 | | - | |
| 4742 | + | |
4752 | 4743 | | |
4753 | 4744 | | |
4754 | 4745 | | |
| |||
0 commit comments