You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by om...@apache.org on 2008/09/17 06:25:08 UTC
svn commit: r696145 - /hadoop/core/trunk/src/saveVersion.sh
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'`