Dear diary, on Thu, Oct 26, 2006 at 11:12:36AM CEST, I got a letter where Jakub Narebski <jnareb@xxxxxxxxx> said that... > 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-ref I 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? 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. -- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ #!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj $/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1 lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/) - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html