On Tue, Apr 21, 2009 at 09:50:06AM +0200, Nicolas Morey-Chaisemartin wrote:
 
> Signed-off-by: Nicolas Morey-Chaisemartin 
> <[email protected]>
>  ibdiag/src/Makefile.am   |    2 +-
>  ibdm/ibdm/Makefile.am    |    2 +-
>  ibis/src/Makefile.am     |    2 +-
>  ibmgtsim/src/Makefile.am |    2 +-
>  4 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/ibdiag/src/Makefile.am b/ibdiag/src/Makefile.am
> index def8b0a..7158bbd 100644
> +++ 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) ; git log | head -1 | cut -f2 -d\  `; \
>          changes=`cd $(srcdir) ; git diff . | grep ^diff | wc -l`; \

Gah, that is an awful choice of command for this purpose anyhow. All
of those should just be:

git rev-parse --verify HEAD

Which gives the same output, dramatically faster.

Jason
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to