From 4ed35fe1108c0f0565c44409b0f2ad042c2a3f6a Mon Sep 17 00:00:00 2001 From: Benjamin Staneck Date: Fri, 11 Sep 2015 23:51:10 +0200 Subject: [PATCH] Revert 8b8f98c Breaks Git: #503 #521, because git actually uses git-. --- scripts/pack.ps1 | 1 - scripts/utils.ps1 | 5 ----- 2 files changed, 6 deletions(-) diff --git a/scripts/pack.ps1 b/scripts/pack.ps1 index 178d3a8..45a462e 100644 --- a/scripts/pack.ps1 +++ b/scripts/pack.ps1 @@ -46,7 +46,6 @@ $targets = @{ } Delete-Existing "..\Version*" -Cleanup-Git $version = Invoke-Expression "git describe --abbrev=0 --tags" (New-Item -ItemType file "$cmderRoot\Version $version") | Out-Null diff --git a/scripts/utils.ps1 b/scripts/utils.ps1 index 68e1286..3154db1 100644 --- a/scripts/utils.ps1 +++ b/scripts/utils.ps1 @@ -61,11 +61,6 @@ function Digest-MD5 ($path) { return Invoke-Expression "md5sum $path" } -function Cleanup-Git () { - $gitdir = '../vendor/msysgit/libexec/git-core/' - Get-Childitem $gitdir -Exclude git.exe | Where-Object{!($_.PSIsContainer)} | Foreach-Object { Remove-Item $_.FullName } -} - function Register-Cmder(){ [CmdletBinding()] Param