Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] git feedback

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Ladislav Hagara <ladislav.hagara AT unob.cz>
  • To: Jeremy Blosser <jblosser-smgl AT firinn.org>
  • Cc: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] git feedback
  • Date: Tue, 01 Aug 2006 14:13:40 +0200


#!/bin/sh
heads=$(git-ls-remote --heads origin | cut -f2)

"git-ls-remote --heads origin" does not print stable-rc-0.5 and
stable-0.4.

Works for me:
arwed@Otherland:~/Work/git/grimoire$ git-ls-remote --heads origin
866d65b55f3d74bdc3b92603e481c6ff1ee1bdac refs/heads/devel
cd42b562b4ca39d7d224d08cf79b6a97a6ecb8c8 refs/heads/master
72fee73c6b6665dff34b0bdfc6552e1a83711d42 refs/heads/stable-0.3
1e9a83ea5a7d825f6f86816e549a2c57afae339d refs/heads/stable-0.4
41170a6a69c8c5a5861cab09804eda54ba937d03 refs/heads/stable-rc-0.4
fd0f298f197525d81fb3d5bcc9a1569c835d0372 refs/heads/stable-rc-0.5

Does not work for me: :-(
$ git-ls-remote --heads origin
a934f6bbdb737b4f76fa6f3485e7ce4d6dca8358 refs/heads/devel
540db90e638c902b32c1d0c8886e7ee8fa9c29fc refs/heads/master
beeb2f0e7d39a2c5ade80895a9c68d97357ce465 refs/heads/stable-0.3
0488f985eec8e3ec41feac0ed8dd7b081ab672a3 refs/heads/stable-rc-0.4


Those hashes don't look right. master is always changing but the other 3
are mostly static, and Arwed's are the right ones.

What does .git/remotes/origin contain?


$ cat .git/remotes/origin

URL: http://scm.sourcemage.org/smgl/grimoire.git

Pull: refs/heads/master:refs/heads/origin

Pull: refs/heads/stable-rc-0.4:refs/heads/stable-rc-0.4

Pull: refs/heads/stable-0.3:refs/heads/stable-0.3

Pull: refs/heads/devel:refs/heads/devel


--
Ladislav Hagara





Archive powered by MHonArc 2.6.24.

Top of Page