summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fdf6cfc)
raw | patch | inline | side by side (parent: fdf6cfc)
author | Andy Parkins <andyparkins@gmail.com> | |
Tue, 13 Feb 2007 15:26:16 +0000 (15:26 +0000) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Tue, 13 Feb 2007 15:35:58 +0000 (10:35 -0500) |
Signed-off-by: Andy Parkins <andyparkins@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
GIT-VERSION-GEN | patch | blob | history |
diff --git a/GIT-VERSION-GEN b/GIT-VERSION-GEN
index 8fac8cb410b6d4e3e10ed775a5c179698b49571e..9966126da2682f7b7d65b71a3225dddd1b5fe55b 100755 (executable)
--- a/GIT-VERSION-GEN
+++ b/GIT-VERSION-GEN
{
head=$1
tree=$2
- for p in $(git rev-list --parents --max-count=1 $head 2>/devnull)
+ for p in $(git rev-list --parents --max-count=1 $head 2>/dev/null)
do
test $tree = $(git rev-parse $p^{tree} 2>/dev/null) &&
vn=$(git describe --abbrev=4 $p 2>/dev/null) &&