[ofa-general] [PATCH] ibutils: git-log calls have been changed to git log as git-xxx syntax is not working with latest git releases
Yevgeny Kliteynik
kliteyn at dev.mellanox.co.il
Sun Apr 26 14:31:35 PDT 2009
Nicolas Morey-Chaisemartin wrote:
> Le 26/04/2009 16:44, Yevgeny Kliteynik a écrit :
>> diff --git a/ibdiag/src/Makefile.am b/ibdiag/src/Makefile.am
>> index def8b0a..d32d914 100644
>> --- a/ibdiag/src/Makefile.am
>> +++ b/ibdiag/src/Makefile.am
>> @@ -42,7 +42,7 @@ GIT=$(shell which git)
>>
>> git_version.tcl : @MAINTAINER_MODE_TRUE@ FORCE
>> if test x$(GIT) != x ; then \
>> - gitver=`cd $(srcdir) ; git-log | head -1 | cut -f2 -d\ `; \
>> + gitver=`cd $(srcdir) ; rev-parse --verify HEAD`; \
>> changes=`cd $(srcdir) ; git diff . | grep ^diff | wc -l`; \
>> else \
>> gitver=undefined; changes=0; \
>
> I think you forgot a git in front of rev-parse here
>
Indeed, thanks. Fixed.
-- Yevgeny
> Nicolas
>
More information about the general
mailing list