Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1575470
| From | Geert Uytterhoeven <geert@linux-m68k.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 57/89] sched/headers: Split <linux/sched/task_stack> out of <linux/sched.h> |
| Date | 2017-02-07 09:30 +0100 |
| Message-ID | <t89jY-o3-15@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <t7RQ8-5AW-81@gated-at.bofh.it> <t7Z1g-1XE-21@gated-at.bofh.it> <t7Zui-28q-29@gated-at.bofh.it> <t890B-gF-1@gated-at.bofh.it> <t89ai-kj-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Ingo,
On Tue, Feb 7, 2017 at 9:13 AM, Ingo Molnar <mingo@kernel.org> wrote:
> * Geert Uytterhoeven <geert@linux-m68k.org> wrote:
>> On Mon, Feb 6, 2017 at 10:54 PM, Ingo Molnar <mingo@kernel.org> wrote:
>> > Wondering why Git allowed me to be so stupid with those leftover merge markers.
>> > Git usually doesn't even allow me to commit them so I have these tuned out as a
>> > possibility. This was just a regular git rebase -i flow, to back-merge fixes and
>> > reorder/squash patches - nothing fancy that I remember - only the occasional
>> > --onto option. I'm using Git 2.7.4.
>>
>> Git complains about the merge conflicts, and refuses to commit the result
>> as long as you haven't resolved them, but it will happily commit everything
>> you add using "git add -u", incl. merge markers.
>
> Hm, it should really force that via 'git add -f' or such. The merge markers are
> _very_ infrequent as naturally occuring source code lines even on a per line basis
> - and especially the combination of them should be exceedingly unique.
They were very infrequent, until we switched to RST for documentation,
causing false positives when searching for "^[<=>].*" in vim...
> I frequently use:
>
> git add $(git ls-files -m)
That's identical to "git add -u", right?
> ... to stage edits without comitting them, probably that workflow is what caused
> this bug.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH 57/89] sched/headers: Split <linux/sched/task_stack> out of <linux/sched.h> Linus Torvalds <torvalds@linux-foundation.org> - 2017-02-06 22:30 +0100
Re: [PATCH 57/89] sched/headers: Split <linux/sched/task_stack> out of <linux/sched.h> Ingo Molnar <mingo@kernel.org> - 2017-02-06 23:00 +0100
Re: [PATCH 57/89] sched/headers: Split <linux/sched/task_stack> out of <linux/sched.h> Geert Uytterhoeven <geert@linux-m68k.org> - 2017-02-07 09:10 +0100
Re: [PATCH 57/89] sched/headers: Split <linux/sched/task_stack> out of <linux/sched.h> Ingo Molnar <mingo@kernel.org> - 2017-02-07 09:20 +0100
Re: [PATCH 57/89] sched/headers: Split <linux/sched/task_stack> out of <linux/sched.h> Geert Uytterhoeven <geert@linux-m68k.org> - 2017-02-07 09:30 +0100
Re: [PATCH 57/89] sched/headers: Split <linux/sched/task_stack> out of <linux/sched.h> Ingo Molnar <mingo@kernel.org> - 2017-02-07 10:50 +0100
Re: [PATCH 57/89] sched/headers: Split <linux/sched/task_stack> out of <linux/sched.h> Geert Uytterhoeven <geert@linux-m68k.org> - 2017-02-07 11:00 +0100
csiph-web