Hi Jan,

post-review needs to generate diffs from code in the tree. If it's a bare
tree, there's not really much to generate. It doesn't have the objects for
which to generate those diffs. If you try to run 'git diff', I think you'll
hit the same problems.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Wed, Mar 23, 2011 at 10:05 AM, Jan Koprowski <jan.koprow...@gmail.com>wrote:

> Hi!
>
>   Because I must figure out how use post-review with git bare repositories
> I start working on it. Running post-review inside bare-repository ands with:
>
> $post-review -n -d --parent b --server http://localhost:8080/
> >>> svn info
> >>> git rev-parse --git-dir
> >>> git symbolic-ref -q HEAD
> Failed to execute command: ['git', 'symbolic-ref', '-q', 'HEAD']
> fatal: Not a git repository (or any of the parent directories): .git
>
> But strange thing is I can run git symbolic-ref -q HEAD without error.
>
> $git symbolic-ref -q HEAD
> refs/heads/master
>
> Any ideas?
>
> Regards,
>
> Jan
>
> --
> Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~----------~----~----~----~------~----~------~--~---
> To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to