[pnfs] Error on git pull

Iyer, Rahul Rahul.Iyer at netapp.com
Thu Mar 15 14:17:03 EDT 2007


My bad. I'm running 1.4. Apparently Gentoo doesn't have 1.5 in its
portage tree... I'll build it from source from the link you sent.
Thanks
Rahul
 

> -----Original Message-----
> From: J. Bruce Fields [mailto:bfields at fieldses.org] 
> Sent: Thursday, March 15, 2007 6:31 AM
> To: Iyer, Rahul
> Cc: pnfs at linux-nfs.org
> Subject: Re: [pnfs] Error on git pull
> 
> On Thu, Mar 15, 2007 at 09:17:41AM -0400, J. Bruce Fields wrote:
> > On Wed, Mar 14, 2007 at 06:50:08PM -0700, Iyer, Rahul wrote:
> > > Ok... I got the tree afresh and then decided I'd go for 
> option #1. 
> > > So, I added the slot table code to the latest branch and then 
> > > committed it. It all worked fine. Then I tried to merge 
> it into the 
> > > pnfs tree... But got an error. Here's what I did:
> > > 
> > > git checkout 4.1-sessions
> > > <hack hack>
> > > git add include/linux/nfs41_sessions.h git commit -a git checkout 
> > > master git merge 4.1-sessions
> > > fatal: Needed a single revision
> > > Usage: /usr/local/bin/git-merge [-n] [--no-commit] [-s 
> <strategy>]...
> > > <merge-message> <head> <remote>+
> > > 
> > > The git user manual seems to indicate that git merge <branchname> 
> > > should be fine...
> > > Do I have to do something like
> > > git-merge 4.1-sessions/HEAD
> > 
> > Huh.  I can't figure out why you would get that complaint.
> 
> Wait, what does
> 
> 	git --version
> 
> say?
> 
> It looks like the only versions of git with the help message 
> you show are pre-1.5.0.
> 
> So upgrade to 1.5.0 if you can (that's what any instructions 
> will be for); if not, then
> 
> 	git pull . master
> 
> is pretty much a synonym for
> 
> 	git merge master
> 
> --b.
> _______________________________________________
> pNFS mailing list
> pNFS at linux-nfs.org
> http://linux-nfs.org/cgi-bin/mailman/listinfo/pnfs
> 


More information about the pNFS mailing list