[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] [lmi-commits] master 1899dd1 1/2: Tell git to ignore wx build
From: |
Vadim Zeitlin |
Subject: |
Re: [lmi] [lmi-commits] master 1899dd1 1/2: Tell git to ignore wx build directory |
Date: |
Mon, 9 Apr 2018 02:18:50 +0200 |
On Sun, 8 Apr 2018 20:00:30 -0400 (EDT) Greg Chicares <address@hidden> wrote:
GC> branch: master
GC> commit 1899dd14b4d48a398dec1a67a2dba8cfef09253d
GC> Author: Gregory W. Chicares <address@hidden>
GC> Commit: Gregory W. Chicares <address@hidden>
GC>
GC> Tell git to ignore wx build directory
GC> ---
GC> install_wx.sh | 6 ++++++
GC> 1 file changed, 6 insertions(+)
GC>
GC> diff --git a/install_wx.sh b/install_wx.sh
GC> index e1db49b..70f2119 100755
GC> --- a/install_wx.sh
GC> +++ b/install_wx.sh
GC> @@ -121,6 +121,12 @@ vendor=gcc-$gcc_version-$wx_commit_sha
GC> build_dir=$wx_dir/lmi-gcc-$gcc_version
GC> mkdir -p "$build_dir"
GC>
GC> +exclusions=$(git rev-parse --git-dir)/info/exclude
GC> +if ! grep -q "^$build_dir/$" "$exclusions"
GC> +then
GC> + printf "%s/\n" "$build_dir" >> "$exclusions"
GC> +fi
GC> +
I'm curious about why is this change necessary? The repository under
/opt/lmi/third_party/vcs/wxWidgets shouldn't be used for any development
(because this could make install_wx.sh script fail when upgrading it and
might even lose some work), so why does it matter that the build directory
appears as untracked in "git status" output there?
VZ
- Re: [lmi] [lmi-commits] master 1899dd1 1/2: Tell git to ignore wx build directory,
Vadim Zeitlin <=