Re: [PATCH] Avoid errors from git-rev-parse in gitweb blame
- From
- Luben Tuikov <ltuikov@yahoo.com>
- Date
- Jun 3, 2008, 21:27 UTC
- Message-ID
- <412634.67173.qm@web31803.mail.mud.yahoo.com>
- In-Reply-To
- <200806032229.40447.jnareb@gmail.com>
--- On Tue, 6/3/08, Jakub Narebski <jnareb@gmail.com> wrote:
Show 9 quoted lines
> > > > + my $parent_commit = > <$dd> || ''; > > By the way, here you would probably want > > + my $parent_commit = <$dd> || > '--root'; > > (if it works).
AFAIR, I did experiment with the "--root" parameter. Not sure why, but my command line ended up without it, and thus git_blame2() ended up without it.
If you feel that it is, at this time having had changes commited since my original commit, more correct to include it, then please go ahead.
Thanks! Luben