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

Re: Git fast-import : Warning duplicated ref: refs/remotes/origin/master

From
Jonathan Nieder <jrnieder@gmail.com>
Date
May 30, 2011, 14:52 UTC
Message-ID
<20110530145203.GA10879@elie>
In-Reply-To
<BANLkTinhH7ksP8EZV+Sd4ryCT1_bhVhgaw@mail.gmail.com>
Jérémie NIKAES wrote:
>> Jérémie NIKAES wrote:
>>> a "Warning duplicated
>>> ref: refs/remotes/origin/master" is thrown.
[...]
Show 5 quoted lines
> No, I actually still have the problem. The version commited on github
> is pulling revisions straight to refs/heads/master which is gross
> After discussing this matter with our teacher Matthieu Moy, I wanted
> to change this to refs/remotes/origin/master but then this warning
> gets thrown.

Could you push a branch exhibiting the problem? The reason I ask is that searching with

	git grep -F -e 'duplicated ref' origin/master

in git.git yields no hits for me, so I wanted to reproduce this to get the exact error message or figure out which program is printing it.

Thanks.
Previous: Jérémie NIKAESNext: Jérémie NIKAES
Message 4 of 15 in “Git fast-import : Warning duplicated ref: refs/remotes/origin/master”
  1. Jérémie NIKAESMay 29, 2011
  2. Jonathan NiederMay 29, 2011
  3. Jérémie NIKAESMay 30, 2011
  4. Jonathan NiederMay 30, 2011
  5. Jérémie NIKAESMay 30, 2011
  6. Documentation: do not misinterpret refspecs as bold text (Re: Git fast-import : Warning duplicated ref: refs/remotes/origin/master)Jonathan Nieder, May 30, 2011
  7. remote helpers: best practices for using the "refspec" capabilityJonathan Nieder, May 30, 2011
  8. Daniel BarkalowMay 30, 2011
  9. Sverre RabbelierMay 30, 2011
  10. Jonathan NiederMay 30, 2011
  11. Matthieu MoyMay 30, 2011
  12. Jérémie NIKAESMay 30, 2011
  13. Jonathan NiederMay 30, 2011
  14. Jérémie NIKAESMay 30, 2011
  15. Sverre RabbelierMay 30, 2011

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.