git-gui: fix typo in GIT-VERSION-GEN, "/dev/null" not "/devnull"

Signed-off-by: Andy Parkins <andyparkins@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
main
Andy Parkins 2007-02-13 15:26:16 +00:00 committed by Shawn O. Pearce
parent fdf6cfc426
commit 022fef30fa
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ tree_search ()
{ {
head=$1 head=$1
tree=$2 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 do
test $tree = $(git rev-parse $p^{tree} 2>/dev/null) && test $tree = $(git rev-parse $p^{tree} 2>/dev/null) &&
vn=$(git describe --abbrev=4 $p 2>/dev/null) && vn=$(git describe --abbrev=4 $p 2>/dev/null) &&