Git tag error

8 views
Skip to first unread message

Piku

unread,
Feb 4, 2008, 2:10:24 PM2/4/08
to Gitorious
Hello,

I tried gitorious on my local machine and after updating to the latest
version it trowed a error when trying to browser a repository.

Git::GitExecuteError (git tag :Usage: /usr/bin/git-tag -l [<pattern>]
| [-a | -s | -u <key-id>] [-f | -d | -v] [-m <msg>] <tagname>
[<head>]):
/vendor/ruby-git/lib/git/lib.rb:495:in `command'
/vendor/ruby-git/lib/git/lib.rb:468:in `command_lines'
/vendor/ruby-git/lib/git/lib.rb:371:in `tags'
/vendor/ruby-git/lib/git/base.rb:322:in `tags'
/lib/gitorious/gitto.rb:42:in `tags'
/lib/gitorious/gitto.rb:47:in `tags_by_sha'
/app/controllers/browse_controller.rb:10:in `index'

To fix this problem edit /vendor/ruby-git/lib/git/lib.rb and replace
'tag' command with 'tag -l'
def tags
command_lines('tag -l')
end
git tag -l is used to list all tags

I am using git version 1.5.2.5 (the version that is in ubuntu gutsy
repositories).

Mihai Anca

Piku

unread,
Feb 4, 2008, 4:28:32 PM2/4/08
to Gitorious
Sorry but it may have been just an issue with me.

Tried it again and it worked without editing the file.
Still can't figure what happened.

Thanks,
Mihai Anca
Reply all
Reply to author
Forward
0 new messages