summaryrefslogtreecommitdiff
path: root/GIT-VERSION-GEN
diff options
context:
space:
mode:
authorAndy Parkins <andyparkins@gmail.com>2007-02-13 15:26:16 (GMT)
committerShawn O. Pearce <spearce@spearce.org>2007-02-13 15:35:58 (GMT)
commit022fef30facd6865d99b0cfceead7de3d60fe7de (patch)
treed2aa3b0335f02043d0f499c83c6da74d82531316 /GIT-VERSION-GEN
parentfdf6cfc4266d1e88e74c09e9166fa0b5c9ad29cb (diff)
downloadgit-022fef30facd6865d99b0cfceead7de3d60fe7de.zip
git-022fef30facd6865d99b0cfceead7de3d60fe7de.tar.gz
git-022fef30facd6865d99b0cfceead7de3d60fe7de.tar.bz2
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>
Diffstat (limited to 'GIT-VERSION-GEN')
-rwxr-xr-xGIT-VERSION-GEN2
1 files changed, 1 insertions, 1 deletions
diff --git a/GIT-VERSION-GEN b/GIT-VERSION-GEN
index 8fac8cb..9966126 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) &&