Gentoo Archives: gentoo-dev

From: Brian Dolbec <dolsen@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] .gitignore
Date: Thu, 13 Aug 2015 14:43:49
Message-Id: 20150813074324.49338685.dolsen@gentoo.org
In Reply to: Re: [gentoo-dev] .gitignore by Ian Stakenvicius
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA512
3
4 On Thu, 13 Aug 2015 10:16:19 -0400
5 Ian Stakenvicius <axs@g.o> wrote:
6
7 > -----BEGIN PGP SIGNED MESSAGE-----
8 > Hash: SHA256
9 >
10 > On 12/08/15 09:27 PM, Brian Dolbec wrote:
11 > > 2) There is another alternate location that you can define files
12 > > to ignore locally without having to commit them to .gitignore.
13 > > Consider .gitignore a global setting. There is another setting
14 > > inside .git/info/exclude which is a local config file that will
15 > > persist and not be affected by pulls.
16 > >
17 > > So please use that for local exclusions you want to add and not
18 > > try to force them into a global .gitignore which is part of the
19 > > repo. Something that seems to be hotly debated. ;)
20 >
21 > ...but are you saying then that there would be a case where we want
22 > dev's to be able to commit these paths into the tree?? I would
23 > think we would want these in global .gitignore primarily because we
24 > want to be sure no errant newbie dev (or newtogit dev) that happens
25 > to use one of these paths ends up committing something that adds them.
26 >
27 >
28
29 No, there clearly should be some things that are commonly present
30 that should never be committed. Those common things should be in a
31 global .gitignore. I did not read the entire thread(s) but it seemed
32 there was more bikeshedding that was necessary. I had not seen
33 mention of an alternate git ignore setting that could be used without
34 the need to have a locally modified .gitignore that someone must
35 constantly refrain from committing with git constantly reminding them
36 it has been modified and lest they be chastised for committing it ;)
37
38
39 - --
40 Brian Dolbec <dolsen>
41
42 -----BEGIN PGP SIGNATURE-----
43 Version: GnuPG v2.1
44
45 iQJ8BAEBCgBmBQJVzK0NXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
46 ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBNUQ3Qzc0RTA4MUNDNzBEQjRBNEFBRjVG
47 QkJEMDg3Mjc1ODIwRUQ4AAoJEPu9CHJ1gg7YCDMP+gKPxS1ZrxJ7zdsIekegOBbm
48 2EeI9X5oD/F3sZGx7GVcpn+0Niry1Cyr69ZS31tdbMR9cFQNeR0TfofbEx66EaSW
49 FS/tzqAV8MV5OFcdSrQeQsSEUEXQcQHpTDl6NMLEKkVL3fWaqa/HJJvuw3x4OvMp
50 iJby8FCuZP9k8xu7M4X/etbKN5b/a6AW3CyLYqFkTx/QXE7yvKKeURFsYyqbdZQs
51 vgvg+jIutq9JsOvk+wOdr97rnu2lZ1qMRhgTjk/dM26aIU/oGfC7VwaN88rka6O0
52 KteeFUAIXRE1Q9RSi2tJDiwqGkNJYMqBFI4pxIRCV+0Nj76vV0EwuHBhtIn8ANsr
53 mEjhpuXb/RXr9+7FrNCJc75czJGu2lCz28REhdc8gyk+nwTbis4xrqAlovcrIk7T
54 MgbUXQqflL4+dhgPMRvR2qaS5NtCBjoFAlNoc6xkB0O/G+SJC1LDQquUd5SkPU0A
55 pdbrlqsona5PLR3bZx7HyySVkVFQDv04/cOo6kdu+u5fo3FOcbpgCVsyOpcjMIjR
56 tGdTaKLLkSJJP0HOVl61qhg9KRYy1FsVvxdb/WHi5X4g7o7qMfuQPps6TKXgtBqW
57 AICQB+v5yc5NFeS06v0sdKtVXxbM00d1KmpkEi6F6SaRQCh1lQY7sI16EOtt4iii
58 oaA+oQuTSCf7sJEUFkGV
59 =gYWV
60 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-dev] .gitignore Patrick McLean <chutzpah@g.o>