mirror of
https://github.com/fluencelabs/redis
synced 2025-03-23 02:50:50 +00:00
Merge pull request #967 from 0x20h/fix-git-diff
suppress external diff program when using git diff.
This commit is contained in:
commit
174e51cb75
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
GIT_SHA1=`(git show-ref --head --hash=8 2> /dev/null || echo 00000000) | head -n1`
|
||||
GIT_DIRTY=`git diff 2> /dev/null | wc -l`
|
||||
GIT_DIRTY=`git diff --no-ext-diff 2> /dev/null | wc -l`
|
||||
BUILD_ID=`uname -n`"-"`date +%s`
|
||||
test -f release.h || touch release.h
|
||||
(cat release.h | grep SHA1 | grep $GIT_SHA1) && \
|
||||
|
Loading…
x
Reference in New Issue
Block a user