Re: [PATCH] Add *.rej to .gitignore

From: Bodo Eggert
Date: Thu Feb 19 2009 - 15:25:47 EST


Ingo Molnar <mingo@xxxxxxx> wrote:
> * David Miller <davem@xxxxxxxxxxxxx> wrote:
>> From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>

>> > *.rej files really are unwanted. If there are any .rej files, they can be
>> > found by some other means (perhaps git itself could warn when committing
>> > with *.rej files present, or add some distinct notion of "ignored files" vs
>> > "never commit" files).
>> >
>> > (This effectively reverts 1f5d3a6b6532e25a5cdf1f311956b2b03d343a48)
>> >
>> > Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>
>>
>> I don't know about this.
>>
>> I really want to know if there are reject files there if I am
>> checking to see if my tree is clean.
[...]
> Well, it depends on the workflow. You are making the assumption
> that everyone is using your workflow, and you are judging them
> based on that false assumption.

If different users need different .gitignores, you need a per-user setting.
Let there be ~/.git/gitignore.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/