This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: Semi-OT: Re: SVN for src, status?


On Mon, May 11, 2009 at 05:40:25PM -0400, Hans-Peter Nilsson wrote:
> On Mon, 11 May 2009, Joel Brobecker wrote:
> 
> > > And wrt. git, "cvs diff -rHEAD" for git, anyone?
> > > With svn, just s/cvs/svn/.
> >
> > To compare two branches, I think the following should work:
> >     % git diff master...branch
> > where master and branch are the branches you're interested in.
> 
> The feature I tried to express was how to see changes made on
> trunk/HEAD/master since your last update.  IIUC in git this
> requires pulling in changes from the remote repository to a
> local branch or something.  But this is not the cvs/svn-to-git
> workflow list.  Yet. :)

You do have to download the changes; it's just "git fetch".  This is
probably less bandwidth than a typical "cvs diff" :-)

-- 
Daniel Jacobowitz
CodeSourcery


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