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

recent change in git.git/master broke my repos

From
Randal L. Schwartz <merlyn@stonehenge.com>
Date
Oct 25, 2007, 14:32 UTC
Message-ID
<86oden6z97.fsf@blue.stonehenge.com>

I have echo "ref: refs/remotes/origin/master" >.git/refs/heads/upstream so that my daily update script can go:

   git-fetch
   if [ repo is on master, and is not dirty ];
      git-merge upstream
   fi
Yesterday that worked.
Today I get a rash of:
  fatal: Couldn't find remote ref refs/remotes/origin/master
from my git-fetch.

Is git-fetch broken, or am I? And if it's me, how do I do what I want instead?

And when are we gonna get "fast forward only" for git-merge?
-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
Next: Karl Hasselström
Message 1 of 18 in “recent change in git.git/master broke my repos”
  1. Randal L. SchwartzOct 25, 2007
  2. Karl HasselströmOct 25, 2007
  3. Nicolas PitreOct 25, 2007
  4. Randal L. SchwartzOct 25, 2007
  5. Andreas EricssonOct 25, 2007
  6. Nicolas PitreOct 25, 2007
  7. Andreas EricssonOct 25, 2007
  8. Karl HasselströmOct 26, 2007
  9. Jeff KingOct 25, 2007
  10. Randal L. SchwartzOct 25, 2007
  11. Jeff KingOct 25, 2007
  12. Randal L. SchwartzOct 25, 2007
  13. Jeff KingOct 25, 2007
  14. Randal L. SchwartzOct 25, 2007
  15. Jeff KingOct 25, 2007
  16. Daniel BarkalowOct 25, 2007
  17. Junio C HamanoOct 27, 2007
  18. Daniel BarkalowOct 27, 2007

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.