git: gitrev.sh: search harder for the git dir

Simon Schubert corecode at crater.dragonflybsd.org
Tue Aug 18 14:41:03 PDT 2009


commit f5a0be5909f64049304cc253123a5f9e4c5f38a3
Author: Simon Schubert <corecode at dragonflybsd.org>
Date:   Sun Aug 16 12:18:21 2009 +0200

    gitrev.sh: search harder for the git dir
    
    If gitrev.sh was called from an objdir, it would not be able to find the
    git dir and thus fail to determine the version.  Try harder by either
    using an argument as source (sub) dir, or using the path of the
    gitrev.sh script itself.

Summary of changes:
 tools/gitrev.sh |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f5a0be5909f64049304cc253123a5f9e4c5f38a3


-- 
DragonFly BSD source repository





More information about the Commits mailing list