projects
/
VSoRC
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
installed pty
[VSoRC/.git]
/
node_modules
/
node-pty
/
deps
/
winpty
/
src
/
shared
/
GetCommitHash.bat
1
@echo off
2
3
REM -- Echo the git commit hash. If git isn't available for some reason,
4
REM -- output nothing instead.
5
6
git rev-parse HEAD >NUL 2>NUL && (
7
git rev-parse HEAD
8
) || (
9
echo none
10
)
11
12
REM -- Set ERRORLEVEL to 0 using this cryptic syntax.
13
(call )