git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git rev-parse --verify HEAD: fatal: Needed a single revision

From
Miklos Vajna <vmiklos@frugalware.org>
Date
Aug 1, 2008, 14:35 UTC
Message-ID
<20080801143531.GT32057@genesis.frugalware.org>
In-Reply-To
<g6ul10$rr9$1@ger.gmane.org>
On Fri, Aug 01, 2008 at 11:29:04AM +0200, Arkadiusz Miskiewicz <arekm@pld-linux.org> wrote:
Show 5 quoted lines
> How to reproduce:
> get http://carme.pld-linux.org/~arekm/rpm5.tar.bz2
> unpack
> cd rpm5
> git cvsimport -v -d :pserver:anonymous@rpm5.org:/cvs rpm
I did:
git cvsimport -v -d :pserver:anonymous@rpm5.org:/cvs -o master -C rpm rpm

first time it bailed out with an error, sadly I don't exactly remember, but it was different to your error. Then I ran it again (of course without rm -rf rpm) and it finished properly. The cvs checkout and git HEAD differs only in one file (python/Makefile.in is removed in cvs, but not in git).

I put it out to http://vmiklos.hu/gitweb/?p=rpm.git, if you are interested.

> I'm using:
> $ git --version
> git version 1.5.6.4

$ git --version git version 1.6.0.rc0.14.g95f8.dirty

Not sure if it matters or not.
Previous: Arkadiusz Miskiewicz
Message 2 of 2 in “git rev-parse --verify HEAD: fatal: Needed a single revision”
  1. Arkadiusz MiskiewiczAug 1, 2008
  2. Miklos VajnaAug 1, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.