hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omal...@apache.org
Subject svn commit: r696145 - /hadoop/core/trunk/src/saveVersion.sh
Date Wed, 17 Sep 2008 04:25:08 GMT
Author: omalley
Date: Tue Sep 16 21:25:05 2008
New Revision: 696145

URL: http://svn.apache.org/viewvc?rev=696145&view=rev
Log:
HADOOP-4181. Expand abbreviation of 'br' to 'branch' for the git commands in
saveVersion.sh.

Modified:
    hadoop/core/trunk/src/saveVersion.sh

Modified: hadoop/core/trunk/src/saveVersion.sh
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/saveVersion.sh?rev=696145&r1=696144&r2=696145&view=diff
==============================================================================
--- hadoop/core/trunk/src/saveVersion.sh (original)
+++ hadoop/core/trunk/src/saveVersion.sh Tue Sep 16 21:25:05 2008
@@ -26,7 +26,7 @@
 if [ -d .git ]; then
   revision=`git log -1 --pretty=oneline`
   hostname=`hostname`
-  branch=`git br | sed -n -e 's/^* //p'`
+  branch=`git branch | sed -n -e 's/^* //p'`
   url="git://$hostname/$cwd on branch $branch"
 else
   revision=`svn info | sed -n -e 's/Last Changed Rev: \(.*\)/\1/p'`



Mime
View raw message