recent change in git.git/master broke my repos

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <git@...>
Date: Thursday, October 25, 2007 - 10:32 am

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!
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
recent change in git.git/master broke my repos, Randal L. Schwartz, (Thu Oct 25, 10:32 am)
Re: recent change in git.git/master broke my repos, Jeff King, (Thu Oct 25, 12:56 pm)
Re: recent change in git.git/master broke my repos, Daniel Barkalow, (Thu Oct 25, 2:05 pm)
Re: recent change in git.git/master broke my repos, Junio C Hamano, (Sat Oct 27, 2:09 am)
Re: recent change in git.git/master broke my repos, Daniel Barkalow, (Sat Oct 27, 4:06 pm)
Re: recent change in git.git/master broke my repos, Jeff King, (Thu Oct 25, 11:51 am)
Re: recent change in git.git/master broke my repos, Randal L. Schwartz, (Thu Oct 25, 11:55 am)
Re: recent change in git.git/master broke my repos, Jeff King, (Thu Oct 25, 11:57 am)
Re: recent change in git.git/master broke my repos, Randal L. Schwartz, (Thu Oct 25, 11:58 am)
Re: recent change in git.git/master broke my repos, Jeff King, (Thu Oct 25, 12:01 pm)
Re: recent change in git.git/master broke my repos, Randal L. Schwartz, (Thu Oct 25, 12:06 pm)
Re: recent change in git.git/master broke my repos, Nicolas Pitre, (Thu Oct 25, 1:46 pm)
Re: recent change in git.git/master broke my repos, Andreas Ericsson, (Thu Oct 25, 4:23 pm)
Re: recent change in git.git/master broke my repos, Nicolas Pitre, (Thu Oct 25, 4:38 pm)
Re: recent change in git.git/master broke my repos, Andreas Ericsson, (Thu Oct 25, 4:42 pm)
Re: recent change in git.git/master broke my repos, Randal L. Schwartz, (Thu Oct 25, 2:29 pm)