Re: What's in git.git
From: Jakub Narebski <hidden>
Date: 2016-08-11 20:23:46
Dnia czwartek 26. października 2006 14:08, Petr Baudis napisał:
Dear diary, on Thu, Oct 26, 2006 at 11:12:36AM CEST, I got a letter where Jakub Narebski [off-list ref] said that...quoted
This unfortunately means that I cannot test gitweb based on 'master' branch using _released_ git core, git version 1.4.3.3, as it doesn't have git-for-each-ref nor git-show-ref. BTW. do people often use latest gitweb with older git binaries? Should we try to wait for core feature to mature to released version before using it in gitweb? Or perhaps we should add some kind of version checking, and provide workrounds, e.g. using $ENV{GIT_DIR} if git core doesn't support --git-dir option, pathlimit filtering using git-rev-list piped to git-diff-tree --stdin in git_history if there is no --full-history option, show always HEAD activity if there is no git-for-each-ref etc.; well the latest we can do without checking for git core version, just if -x qx($GIT --exec-path)/git-for-each-refI can't imagine a situation where you would _want_ to use latest gitweb but refuse to use older git binaries - can you explain why do you want to do that?
Theoretically? I could have Perl installed, have installed tools Git requires to use but not have installed tools Git require to compile. Hence forced to use pre-compiled binaries. But that is not my situation.
If you don't want to install the latest master systemwide, that's reasonable, but you can just keep the latest master for the gitweb script and/or your personal use.
Well, I'd use compiled 'master' version of git for gitweb, then... -- Jakub Narebski