This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [COMMIT] Re: [PATCH 0/9][gdbserver] Split server.h.


> -----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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]