{"thread":{"id":"22257","subject":"ambiguous argument '...': unknown revision or path not in the working tree","startedAt":"2010-01-17T09:46:15Z","lastAt":"2010-01-18T08:48:57Z","messageCount":3,"participants":["Sven Joachim","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"131937","messageId":"87ska5vzbs.fsf@turtle.gmx.de","threadId":"22257","inReplyTo":null,"subject":"ambiguous argument '...': unknown revision or path not in the working tree","fromName":"Sven Joachim","fromEmail":"svenjoac@gmx.de","sentAt":"2010-01-17T09:46:15Z","receivedAt":"2010-01-17T09:46:15Z","isPatch":false,"sender":{"key":"svenjoac@gmx.de","avatar":null},"body":"I've got a strange error message in 'git push':\n\n,----\n| % git push\n| Counting objects: 47, done.\n| Delta compression using up to 2 threads.\n| Compressing objects: 100% (24/24), done.\n| Writing objects: 100% (24/24), 4.37 KiB, done.\n| Total 24 (delta 22), reused 0 (delta 0)\n| fatal: ambiguous argument '3bbc6def8a06e4411bee130b811ff9507e90503d:debian/changelog': unknown revision or path not in the working tree.\n| Use '--' to separate paths from revisions\n| To git+ssh://git.debian.org/git/collab-maint/ncurses.git\n|    2fec7db..3bbc6de  HEAD -> upstream\n`----\n\nIndeed debian/changelog is not in the working tree, it is not in the\ncurrent branch (upstream) at all, although it exists in the master\nbranch.  Default is to push the current branch:\n\n,----\n| % git config --get push.default \n| current\n| % git --version\n| git version 1.6.6\n`----\n\nDespite the error message, the push was apparently successful; the\nrepository I push to can be found at\nhttp://git.debian.org/?p=collab-maint/ncurses.git.\n\nSven\n"},{"id":"132019","messageId":"7v3a23ucdm.fsf@alter.siamese.dyndns.org","threadId":"22257","inReplyTo":"87ska5vzbs.fsf@turtle.gmx.de","subject":"Re: ambiguous argument '...': unknown revision or path not in the working tree","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2010-01-18T06:59:33Z","receivedAt":"2010-01-18T06:59:33Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Sven Joachim <svenjoac@gmx.de> writes:\n\n> I've got a strange error message in 'git push':\n>\n> ,----\n> | % git push\n> | Counting objects: 47, done.\n> | Delta compression using up to 2 threads.\n> | Compressing objects: 100% (24/24), done.\n> | Writing objects: 100% (24/24), 4.37 KiB, done.\n> | Total 24 (delta 22), reused 0 (delta 0)\n> | fatal: ambiguous argument '3bbc6def8a06e4411bee130b811ff9507e90503d:debian/changelog': unknown revision or path not in the working tree.\n> | Use '--' to separate paths from revisions\n\nI think there is nothing \"fatal\" in your git setup, other than that the\nrepository at the remote end you are pushing into has a broken hook script\n(perhaps update, post-receive, or post-update) that is issuing the error\nmessage.  I would raise the issue with the owner of the repository if I\nwere you.\n"},{"id":"132022","messageId":"87vdezol1i.fsf@turtle.gmx.de","threadId":"22257","inReplyTo":"7v3a23ucdm.fsf@alter.siamese.dyndns.org","subject":"Re: ambiguous argument '...': unknown revision or path not in the working tree","fromName":"Sven Joachim","fromEmail":"svenjoac@gmx.de","sentAt":"2010-01-18T08:48:57Z","receivedAt":"2010-01-18T08:48:57Z","isPatch":false,"sender":{"key":"svenjoac@gmx.de","avatar":null},"body":"On 2010-01-18 07:59 +0100, Junio C Hamano wrote:\n\n> Sven Joachim <svenjoac@gmx.de> writes:\n>\n>> I've got a strange error message in 'git push':\n>>\n>> ,----\n>> | % git push\n>> | Counting objects: 47, done.\n>> | Delta compression using up to 2 threads.\n>> | Compressing objects: 100% (24/24), done.\n>> | Writing objects: 100% (24/24), 4.37 KiB, done.\n>> | Total 24 (delta 22), reused 0 (delta 0)\n>> | fatal: ambiguous argument '3bbc6def8a06e4411bee130b811ff9507e90503d:debian/changelog': unknown revision or path not in the working tree.\n>> | Use '--' to separate paths from revisions\n>\n> I think there is nothing \"fatal\" in your git setup, other than that the\n> repository at the remote end you are pushing into has a broken hook script\n> (perhaps update, post-receive, or post-update) that is issuing the error\n> message.\n\nThanks, that hits the nail on the head.\n\n> I would raise the issue with the owner of the repository if I were you.\n\nI've opened a support ticket.\n\nSven\n"}]}