qemu-devel
[Top][All Lists]
Advanced

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

Future entries for .gitignore (was Re: [Qemu-devel] [PATCH] Add TAGS and


From: Stefan Weil
Subject: Future entries for .gitignore (was Re: [Qemu-devel] [PATCH] Add TAGS and *~ to .gitignore)
Date: Thu, 24 Feb 2011 21:21:00 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20101226 Iceowl/1.0b1 Icedove/3.0.11

.gitignore contains two categories of entries:

(1) files and directories which are created during configure / make

(2) files which might be created by users, editors and other tools

The 1st category of files is needed by any developer who runs make
in the source tree. There was once a suggestion to remove support
for in-tree builds. Out-of-tree builds would not need any entry in
.gitignore. So maintenance could be made easier, although I
don't recommend this.

The 2nd category is virtually endless because there are so many
different editors, IDEs, debuggers and other tools which create
different files. The entries here are nothing which is typical
of qemu. These entries are typical for the user: Do I use ctags?
Does my editor write *.bak or *~ files? Do I want a .gdbinit? ...

Therefore I think that all entries of the 2nd category should be
configured by the user in his/her personal git ignore list
(see git config setting core.excludesfile).

Regards,
Stefan Weil




reply via email to

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