mirror of
https://github.com/cmderdev/cmder.git
synced 2024-11-10 17:59:11 +08:00
Revert 8b8f98c
Breaks Git: #503 #521, because git <command> actually uses git-<command>.
This commit is contained in:
parent
dc9263a11c
commit
4ed35fe110
@ -46,7 +46,6 @@ $targets = @{
|
|||||||
}
|
}
|
||||||
|
|
||||||
Delete-Existing "..\Version*"
|
Delete-Existing "..\Version*"
|
||||||
Cleanup-Git
|
|
||||||
|
|
||||||
$version = Invoke-Expression "git describe --abbrev=0 --tags"
|
$version = Invoke-Expression "git describe --abbrev=0 --tags"
|
||||||
(New-Item -ItemType file "$cmderRoot\Version $version") | Out-Null
|
(New-Item -ItemType file "$cmderRoot\Version $version") | Out-Null
|
||||||
|
@ -61,11 +61,6 @@ function Digest-MD5 ($path) {
|
|||||||
return Invoke-Expression "md5sum $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(){
|
function Register-Cmder(){
|
||||||
[CmdletBinding()]
|
[CmdletBinding()]
|
||||||
Param
|
Param
|
||||||
|
Loading…
Reference in New Issue
Block a user