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

Re: qgit reports errors in the git repository

From
Junio C Hamano <junkio@cox.net>
Date
Dec 17, 2005, 06:55 UTC
Message-ID
<7virto9pr0.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<e5bfff550512161247v4c187cc0gedae8234d454c3b6@mail.gmail.com>
Marco Costalba <mcostalba@gmail.com> writes:
Show 10 quoted lines
>> > So perpahs this assumption is broken and works only on my box.
>> >
>> > Can you please send me also the git-ls-remote ./.git output?
>>
>> Attached.  Apparently my sort (coreutils 5.2.1) thinks that caret
>> follows period in C locale, so v0.99^{} goes after v0.99.9n^{}.  Since
>> there should be a reason for sort in git-ls-remote.sh, I assume it's the
>> script that should be fixed.
>>
>> Not that I would object against qgit being more robust :-)

Somehow I am getting your message without the message your message is a reply to, but anyway, guessing without having access to qgit source [*1*], you seem to be running ls-remote against the local repository, reading its output and deciding if "xyzzy" is followed immediately by "xyzzy^{}" then it is a tag otherwise it is a non tag object?

If you are always doing that against the local repository, then peek-remote would be more efficient, does not sort, and "xyzzy^{}" comes immediately after "xyzzy", which I do not see an immediate need of changing.

[Footnote]

*1* Why is that http:// URL does not work is mystery to me which I do not particularly interested in figuring out myself. Maybe the site is trying to be too helpful and showing "Oh where do you want to go" page with status 200 which confuses the h*ck out of downloaders?

Previous: Junio C HamanoNext: Junio C Hamano
Message 7 of 9 in “qgit reports errors in the git repository”
  1. Pavel RoskinDec 13, 2005
  2. Linus TorvaldsDec 13, 2005
  3. Pavel RoskinDec 15, 2005
  4. Pavel RoskinDec 15, 2005
  5. Pavel RoskinDec 16, 2005
  6. Junio C HamanoDec 16, 2005
  7. Junio C HamanoDec 17, 2005
  8. Junio C HamanoDec 17, 2005
  9. Pavel RoskinDec 20, 2005

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.