This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RE: [COMMIT] Re: [PATCH 0/9][gdbserver] Split server.h.
- From: "Agovic, Sanimir" <sanimir dot agovic at intel dot com>
- To: 'Pedro Alves' <palves at redhat dot com>, Eli Zaretskii <eliz at gnu dot org>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Fri, 6 Sep 2013 10:05:13 +0000
- Subject: RE: [COMMIT] Re: [PATCH 0/9][gdbserver] Split server.h.
- Authentication-results: sourceware.org; auth=none
- References: <1378239999-15533-1-git-send-email-palves at redhat dot com> <5228EDE4 dot 7080101 at redhat dot com> <5229043A dot 1000408 at redhat dot com> <83wqmumrhq dot fsf at gnu dot org> <5229A20A dot 5060302 at redhat dot com>
> -----Original Message-----
> From: gdb-patches-owner@sourceware.org [mailto:gdb-patches-owner@sourceware.org] On Behalf
> Of Pedro Alves
> Sent: Friday, September 06, 2013 11:36 AM
> To: Eli Zaretskii
> Cc: gdb-patches@sourceware.org
> Subject: Re: [COMMIT] Re: [PATCH 0/9][gdbserver] Split server.h.
>
> For some I-can't-justify reason, I've trained my brain to
> not expect to see new files in the "cvs diff" step.
> That "is a new entry, no comparison available" warning goes
> to stderr, but I failed to notice in the first patch. And
> then as I pushed the series in sequence, I skipped
> that 'cvs diff' step in between committing patches, so I ended
> up forgetting to add all new files...
>
> The simple fix for me without learning a whole new workflow
> seems to be to just use cvs diff -N. My ~/.cvsrc now has:
>
> diff -upN
>
> train myself to expect to see the new files in the
> resulting diff, and perhaps write a little wrapper script
> around cvs diff that warns me if there are non-added files
> in the resulting diff (the ? lines), unless there's already
> something like that in the set of cvs commands (cvs status
> seems to be practically useless, I never use it).
>
> Hopefully that'll help catch this mistake going forward.
>
Pedro, I use git-cvsexportcommit[1], it saves me from all the trouble.
[1] https://www.kernel.org/pub/software/scm/git/docs/git-cvsexportcommit.html
-Sanimir
Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen, Deutschland
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Christian Lamprechter, Hannes Schwaderer, Douglas Lusk
Registergericht: Muenchen HRB 47456
Ust.-IdNr./VAT Registration No.: DE129385895
Citibank Frankfurt a.M. (BLZ 502 109 00) 600119052