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
parent
fdf6cfc426
commit
022fef30fa
|
@ -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) &&
|
||||||
|
|
Loading…
Reference in New Issue