Really? I'm curious about this because I couldn't even generate a diff in a
bare repository, and from a google search, it seemed other people were also
under the impression that you needed an actual checkout.
If it can be made to work, I'm definitely all for including it. That'd be
much better than needing a full checkout.
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com
On Thu, Mar 24, 2011 at 11:08 PM, Jan Koprowski <jan.koprow...@gmail.com>wrote:
> Isn't true.
> I already wrote little (3 lines?) patch which allow generate diffs
> for parent branch from bare-repo but I want to test it in fire of war
> before I send code to review. Everything looks good so it is possible.
> Will be good in future if post-review will be tested and modified to
> work also with bare-repositories. This will allow to use post-review
> inside git hooks on "central" repo.
> On Thu, Mar 24, 2011 at 9:25 PM, Christian Hammond <chip...@chipx86.com>
> > 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
> > which to generate those diffs. If you try to run 'git diff', I think
> > 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
> >> I start working on it. Running post-review inside bare-repository ands
> >> $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
> ><> Jan Koprowski
Want to help the Review Board project? Donate today at
Happy user? Let us know at http://www.reviewboard.org/users/
To unsubscribe from this group, send email to
For more options, visit this group at