Aneesh Kumar K.V wrote: > Jakub Narebski wrote: >> Toby White wrote: >> >>> I was wondering if a feature like the following would be of >>> use to anyone except me: I'd like to be able to download >>> the full source of a given tree from gitweb. >> [...] >> So you want to have snapshot of a tree. Why not snapshot of a commit, >> or of a tag? >> >>> I've quickly hacked gitweb to do this for me - patch below. >>> >>> It adds an extra link to the 'commit' page. Next to the link >>> that would lead you to 'tree', there is 'tar.gz' which simply >>> returns the tar.gz of the same tree. >>> >>> The patch is against the version of gitweb currently in >>> Debian, which is, erm, '264-1', apparently, because that's >>> what I had to hand. >> >> It is really better to hack git with git. And you can use current gitweb >> with old git (well, not always, as current gitweb requires --full-history >> option to git-rev-list to be available). >> > > How about the below on top of latest git Add it to git_commit too. The patch contains the pervious changes also. -aneesh - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
This archive was generated by hypermail 2.1.8 : 2006-08-16 21:35:39 EST