unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* git errors pulling notmuch
@ 2017-10-17 22:32 Tomas Nordin
  2017-10-17 22:52 ` David Bremner
  0 siblings, 1 reply; 4+ messages in thread
From: Tomas Nordin @ 2017-10-17 22:32 UTC (permalink / raw)
  To: notmuch

Hello Notmuchers

I have installed Notmuch from source a while ago and been happy. But
today I thought maybe it is about time to see if I should update (244
commits behind), so I tried to pull the changes. I am getting this git
error:

  1 git … pull origin
error: cannot lock ref 'refs/remotes/origin/debian/jessie-backports': 'refs/remotes/origin/debian' exists; cannot create 'refs/remotes/origin/debian/jessie-backports'
From git://notmuchmail.org/git/notmuch
 ! [new branch]        debian/jessie-backports -> origin/debian/jessie-backports  (unable to update local ref)
error: cannot lock ref 'refs/remotes/origin/debian/squeeze-backports': 'refs/remotes/origin/debian' exists; cannot create 'refs/remotes/origin/debian/squeeze-backports'
 ! [new branch]        debian/squeeze-backports -> origin/debian/squeeze-backports  (unable to update local ref)
error: cannot lock ref 'refs/remotes/origin/debian/stretch': 'refs/remotes/origin/debian' exists; cannot create 'refs/remotes/origin/debian/stretch'
 ! [new branch]        debian/stretch          -> origin/debian/stretch  (unable to update local ref)
error: cannot lock ref 'refs/remotes/origin/debian/stretch-backports': 'refs/remotes/origin/debian' exists; cannot create 'refs/remotes/origin/debian/stretch-backports'
 ! [new branch]        debian/stretch-backports -> origin/debian/stretch-backports  (unable to update local ref)
error: cannot lock ref 'refs/remotes/origin/debian/wheezy-backports': 'refs/remotes/origin/debian' exists; cannot create 'refs/remotes/origin/debian/wheezy-backports'
 ! [new branch]        debian/wheezy-backports -> origin/debian/wheezy-backports  (unable to update local ref)

the output is via Magit process. The currently installed notmuch is
0.24.1+65~g77c9ec1

Do you see easy what's going on?

Best regards
--
Tomas

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: git errors pulling notmuch
  2017-10-17 22:32 git errors pulling notmuch Tomas Nordin
@ 2017-10-17 22:52 ` David Bremner
  2017-10-18  6:07   ` Tomas Nordin
  0 siblings, 1 reply; 4+ messages in thread
From: David Bremner @ 2017-10-17 22:52 UTC (permalink / raw)
  To: Tomas Nordin, notmuch

Tomas Nordin <tomasn@posteo.net> writes:

> Hello Notmuchers
>
> I have installed Notmuch from source a while ago and been happy. But
> today I thought maybe it is about time to see if I should update (244
> commits behind), so I tried to pull the changes. I am getting this git
> error:
>
>   1 git … pull origin
> error: cannot lock ref 'refs/remotes/origin/debian/jessie-backports': 'refs/remotes/origin/debian' exists; cannot create 'refs/remotes/origin/debian/jessie-backports'

Try "git remote prune origin"

d

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: git errors pulling notmuch
  2017-10-17 22:52 ` David Bremner
@ 2017-10-18  6:07   ` Tomas Nordin
  2017-10-18 12:39     ` David Bremner
  0 siblings, 1 reply; 4+ messages in thread
From: Tomas Nordin @ 2017-10-18  6:07 UTC (permalink / raw)
  To: David Bremner, notmuch

David Bremner <david@tethera.net> writes:

> Try "git remote prune origin"

OK, worked just fine, thanks. Should I mention that an untracked file
appeared "notmuch.sym", in the top level directory, without me knowingly
building anything.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: git errors pulling notmuch
  2017-10-18  6:07   ` Tomas Nordin
@ 2017-10-18 12:39     ` David Bremner
  0 siblings, 0 replies; 4+ messages in thread
From: David Bremner @ 2017-10-18 12:39 UTC (permalink / raw)
  To: Tomas Nordin, notmuch

Tomas Nordin <tomasn@posteo.net> writes:

> David Bremner <david@tethera.net> writes:
>
>> Try "git remote prune origin"
>
> OK, worked just fine, thanks. Should I mention that an untracked file
> appeared "notmuch.sym", in the top level directory, without me knowingly
> building anything.

At some point we transitioned from generating notmuch.sym to having it
committed (in lib/) so this is probably leftover from a previous build
(and no longer cleaned by the build system). In any case, removing it
should be harmless.

d

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-10-18 12:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-17 22:32 git errors pulling notmuch Tomas Nordin
2017-10-17 22:52 ` David Bremner
2017-10-18  6:07   ` Tomas Nordin
2017-10-18 12:39     ` David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).