[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

.gitignore and minimum Git version

From: Paul Eggert
Subject: .gitignore and minimum Git version
Date: Mon, 01 Dec 2014 09:24:35 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

The first attached patch (recently applied to master) isn't needed for current versions of git, since the existing patterns lisp/**/*cus-load.el and lisp/**/*loaddefs.el subsume the newly added patterns. Looking at the Git release notes, it appears that .gitignore's "**" feature was added in Git 1.8.2 (March 2013), so I guess Lars is using an older Git version and "**" didn't work for him.

Which raises the issue: what should be the minimum version of git that we assume for Emacs developers? I suggest that we assume Git 1.7.1 (April 2010) or later, as that's the oldest Git that is still likely to be in widespread use -- it's shipped with CentOS 6, for example.

One more thing: as I understand it, the .gitignore patch is needed on emacs-24 just as much as on master, and we're doing gittish stuff on both branches for now, so this sort of change should be applied to emacs-24 and later merged to master. I attempted to address this by applying the second attached patch to the emacs-24 branch; this will need to be merged into the master .gitignore in due course.

Attachment: emacs.diff
Description: Text Data

Attachment: 0001-.gitignore-Avoid-as-it-requires-Git-1.8.2-or-later.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]