Commit d4acdc8
committed
Make it possible to check out this repository on Windows
On Windows, colons are not allowed in filenames, and neither are
question marks. Let's just rename the files whose filenames contain
colons or question marks (simply removing them, there are no
collisions).
The affected files (all in the ProGit book) already contain `url`
attributes in the front matter, meaning: Hugo will use the correct
filename in the rendered output, and therefore the end result is the
same as before.
This trick was performed by
git -c core.quotePath=false ls-files |
grep ':' |
while read path
do
git mv --sparse "$path" "${path/:/}" ||
break
done
and
git -c core.quotePath=false ls-files |
grep '?' |
while read path
do
git mv --sparse "$path" "${path/\?/}" ||
break
done
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>1 parent a6a37a3 commit d4acdc8
File tree
683 files changed
+0
-0
lines changed- external/book/content/book
- az/v2
- be/v2
- Дадатак-A-Git-in-Other-Environments-Git-in-IntelliJ-/-PyCharm-/-WebStorm-/-PhpStorm-
- bg/v2
- Приложение-A-Git-в-други-среди-Git-in-IntelliJ-/-PyCharm-/-WebStorm-/-PhpStorm-
- cs/v2
- de/v2
- Anhang-A-Git-in-anderen-Umgebungen-Git-in-IntelliJ-/-PyCharm-/-WebStorm-/-PhpStorm-
- en/v2
- Appendix-A-Git-in-Other-Environments-Git-in-IntelliJ-/-PyCharm-/-WebStorm-/-PhpStorm-
- es/v2
- fr/v2
- Annexe-A-Git-dans-d’autres-environnements-Git-dans-IntelliJ-/-PyCharm-/-WebStorm-/-PhpStorm-
- id/v2
- it/v2
- ja/v2
- ko/v2
- mk/v2
- ms/v2
- Appendix-A-Git-in-Other-Environments-Git-in-IntelliJ-/-PyCharm-/-WebStorm-/-PhpStorm-
- nl/v2
- pl/v2
- pt-br/v2
- pt-pt/v2
- ru/v2
- Приложение-A-Git-в-других-окружениях-Git-в-IntelliJ-/-PyCharm-/-WebStorm-/-PhpStorm-
- sl/v2
- Dodatek-A-Git-v-drugih-okoljih-Git-v-IntelliJ-/-PyCharm-/-WebStorm-/-PhpStorm-
- sr/v2
- Додатак-А-Програм-Гит-у-другим-окружењима-Гит-у-IntelliJ-/-PyCharm-/-WebStorm-/-PhpStorm-
- sv/v2
- tl/v2
- tr/v2
- uk/v2
- uz/v2
- zh-tw/v2
- zh/v2
- 附录-A-在其它环境中使用-Git-IntelliJ-/-PyCharm-/-WebStorm-/-PhpStorm-
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
683 files changed
+0
-0
lines changed
0 commit comments