From: Andy Parkins Date: Tue, 13 Feb 2007 15:26:16 +0000 (+0000) Subject: git-gui: fix typo in GIT-VERSION-GEN, "/dev/null" not "/devnull" X-Git-Tag: v1.5.0~2^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=022fef30facd6865d99b0cfceead7de3d60fe7de;p=git.git git-gui: fix typo in GIT-VERSION-GEN, "/dev/null" not "/devnull" Signed-off-by: Andy Parkins Signed-off-by: Shawn O. Pearce --- diff --git a/GIT-VERSION-GEN b/GIT-VERSION-GEN index 8fac8cb41..9966126da 100755 --- a/GIT-VERSION-GEN +++ b/GIT-VERSION-GEN @@ -10,7 +10,7 @@ tree_search () { 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) &&