Thread (1 message) 1 message, 1 author, 2016-06-15

Re: qgit reports errors in the git repository

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:15

Marco Costalba [off-list ref] writes:
quoted
quoted
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?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help