Skip to contentSkip to conversation

gitgnore: tweaks for stgit

PATCH In review Dario Faggioli 3 participants 4 messages Sep 16, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gitgnore: tweaks for stgit

so that the temporary files stgit creates and uses (for commit changelogs and cover letters) do not pollute the output of `git status'.

CC Ian Campbell <[email protected]>
CC Ian Jackson <[email protected]>
---
 .gitignore |    3 +++
 1 file changed, 3 insertions(+)
.gitignore +3 -0
index 3253675..3f59faf 100644
@@ -28,6 +28,9 @@ cscope.out
 cscope.po.out
 .config
 
+.stgit-new.txt
+.stgitmail.txt
+
 dist
 stubdom/*.tar.gz
#1 lore raw
Quoted 3 lines · Dario Faggioli

so that the temporary files stgit creates and uses (for commit changelogs and cover letters) do not pollute the output of `git status'.

Since this is only needed by people using stgit I'm wondering if those rules would be better placed on .git/info/exclude (which is not public).

#2 lore raw
Quoted 8 lines · Roger Pau Monné
Quoted 3 lines · Dario Faggioli

so that the temporary files stgit creates and uses (for commit changelogs and cover letters) do not pollute the output of `git status'.

Since this is only needed by people using stgit I'm wondering if those rules would be better placed on .git/info/exclude (which is not public).

Well, there are stuff like cscope related entries and ctags related entries in .gitignore, relevant only to people using cscope and ctags, and that's why I put these two there too.

Anyway, I've got no particular issue in moving them somewhere else (except finding out what .git/info/exclude is and how it works :-P)

Dario

Signature · 4 lines
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#3 lore raw
In reply to Roger Pau Monné

Roger Pau Monné writes ("Re: [Xen-devel] [PATCH] gitgnore: tweaks for stgit"):

Quoted 7 lines · Dario Faggioli
Quoted 3 lines

so that the temporary files stgit creates and uses (for commit changelogs and cover letters) do not pollute the output of `git status'.

Since this is only needed by people using stgit I'm wondering if those rules would be better placed on .git/info/exclude (which is not public).

I wonder why they shouldn't be in the stgit user's ~ somewhere.

Ian.