[prev in list] [next in list] [prev in thread] [next in thread]
List: cgit
Subject: [PATCH] gen-version.sh: check if git is available before trying to call it
From: Jason () zx2c4 ! com (Jason A ! Donenfeld)
Date: 2014-02-05 14:09:54
Message-ID: CAHmME9ptkzb3ZJ=FoNYiwRntmSB9aHdm7FPHRFcd_oPQp2TPCg () mail ! gmail ! com
[Download RAW message or body]
On Sat, Feb 1, 2014 at 4:10 PM, Fabien C. <t74jgwb88tli9ch at jetable.org> wrote:
>
> Here is yet another version (+ patch file):
>
> if test "$(git rev-parse --git-dir 2>/dev/null)" = '.git'
> then
> V=$(git describe --abbrev=4 HEAD 2>/dev/null)
> fi
Merged, thanks.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic