[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] master da4ce83: * nt/INSTALL: Update instructions for
From: |
Eli Zaretskii |
Subject: |
Re: [Emacs-diffs] master da4ce83: * nt/INSTALL: Update instructions for running autogen.sh |
Date: |
Fri, 02 Oct 2015 16:48:48 +0300 |
> From: Stefan Monnier <address@hidden>
> Cc: Eli Zaretskii <address@hidden>
> Date: Fri, 02 Oct 2015 09:03:31 -0400
>
> > + If the script fails because it cannot find Git, you will need to
> > + arrange for the MSYS Bash's PATH to include the Git's 'bin'
> > + sibdirectory, where there's the git.exe executable.
>
> I'm not 100% sure I understand what this is talking about, but I get the
> impression that this is saying that autogen.sh can fail if `git'
> is missing. If so, it sounds like a bug in autogen.sh.
if test -d .git; then
# Configure 'git diff' hunk header format.
git config 'diff.elisp.xfuncname' \
'^\(def[^[:space:]]+[[:space:]]+([^()[:space:]]+)' || exit
git config 'diff.texinfo.xfuncname' \ ^^^^^^^
'address@hidden:space:]]+([^,[:space:]][^,]+)' || exit
^^^^^^^
It exits with an error message, which in my book means it "fails".