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?