git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Invalid refspec?
@ 2008-03-20 10:53 Samuel Tardieu
  2008-03-20 13:21 ` Daniel Barkalow
  0 siblings, 1 reply; 5+ messages in thread
From: Samuel Tardieu @ 2008-03-20 10:53 UTC (permalink / raw)
  To: git

I am using git master branch locally (1.5.5.rc0.133.g7e207), and the
server is using 1.5.4.rc3.g16335. I want to push my HEAD~1 revision
into the 2.0 branch on the server, and it looks like it is not
expanded anymore in the refspec:

% git push origin HEAD~1:2.0
fatal: Invalid refspec 'HEAD~1:2.0'
fatal: The remote end hung up unexpectedly

Isn't HEAD~1 supposed to be expanded locally? Using the SHA-1 instead
of HEAD~1 works fine.

  Sam
-- 
Samuel Tardieu -- sam@rfc1149.net -- http://www.rfc1149.net/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-03-20 19:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-20 10:53 Invalid refspec? Samuel Tardieu
2008-03-20 13:21 ` Daniel Barkalow
2008-03-20 16:46   ` Junio C Hamano
2008-03-20 17:12     ` Daniel Barkalow
2008-03-20 19:08       ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).