Add git-win for GPG path hack

This commit is contained in:
2020-07-15 23:21:31 +01:00
parent 8d25606414
commit b81631d777
3 changed files with 14 additions and 0 deletions

2
git-win/.gitconfig-win Normal file
View File

@@ -0,0 +1,2 @@
[gpg]
program = c:/Program Files (x86)/GnuPG/bin/gpg.exe

View File

@@ -9,3 +9,6 @@
prune = fetch --prune
co = checkout
dist = "!git archive --format=tar -v --prefix=$(git describe HEAD)/ $(git describe HEAD) | gzip -9 > ../$(git describe HEAD).tar.gz"
[include]
path = ~/.gitconfig-win

9
metadata/git-win.xml Normal file
View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<Component xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../Metadata.xsd">
<FriendlyName>Git (Windows Config)</FriendlyName>
<Detection>
<Method>FindInPath</Method>
<FindInPath>git</FindInPath>
</Detection>
</Component>