[PATCH v2] autoconfiscate.sh: Use proper command for revision count

From: "Eduardo Lima (Etrunko)" <eblima@br.ibm.com> Signed-off-by: Eduardo Lima (Etrunko) <eblima@br.ibm.com> --- autoconfiscate.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/autoconfiscate.sh b/autoconfiscate.sh index 8ea8a30..6bdd90a 100755 --- a/autoconfiscate.sh +++ b/autoconfiscate.sh @@ -19,7 +19,7 @@ autoconf --force && if test -x $(which git); then git rev-parse --short HEAD > .changeset - git log | grep "^commit" | wc -l > .revision + git rev-list HEAD | wc -l > .revision else echo "Unknown" > .changeset echo "0" > .revision -- 1.7.7.5

+1 $ cat .revision 1180 On 01/18/2012 11:32 AM, Eduardo Lima (Etrunko) wrote:
From: "Eduardo Lima (Etrunko)"<eblima@br.ibm.com>
Signed-off-by: Eduardo Lima (Etrunko)<eblima@br.ibm.com> --- autoconfiscate.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/autoconfiscate.sh b/autoconfiscate.sh index 8ea8a30..6bdd90a 100755 --- a/autoconfiscate.sh +++ b/autoconfiscate.sh @@ -19,7 +19,7 @@ autoconf --force&&
if test -x $(which git); then git rev-parse --short HEAD> .changeset - git log | grep "^commit" | wc -l> .revision + git rev-list HEAD | wc -l> .revision else echo "Unknown"> .changeset echo "0"> .revision
-- Chip Vincent Open Virtualization IBM Linux Technology Center cvincent@linux.vnet.ibm.com

Pushed On 01/18/2012 01:29 PM, Chip Vincent wrote:
+1
$ cat .revision 1180
On 01/18/2012 11:32 AM, Eduardo Lima (Etrunko) wrote:
From: "Eduardo Lima (Etrunko)"<eblima@br.ibm.com>
Signed-off-by: Eduardo Lima (Etrunko)<eblima@br.ibm.com> --- autoconfiscate.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/autoconfiscate.sh b/autoconfiscate.sh index 8ea8a30..6bdd90a 100755 --- a/autoconfiscate.sh +++ b/autoconfiscate.sh @@ -19,7 +19,7 @@ autoconf --force&&
if test -x $(which git); then git rev-parse --short HEAD> .changeset - git log | grep "^commit" | wc -l> .revision + git rev-list HEAD | wc -l> .revision else echo "Unknown"> .changeset echo "0"> .revision
-- Chip Vincent Open Virtualization IBM Linux Technology Center cvincent@linux.vnet.ibm.com
participants (2)
-
Chip Vincent
-
Eduardo Lima (Etrunko)