Git development
 help / color / mirror / Atom feed
* [PATCH] Enable tree (directory) history display
@ 2006-07-01  1:00 Luben Tuikov
  2006-07-01  2:10 ` Junio C Hamano
  0 siblings, 1 reply; 9+ messages in thread
From: Luben Tuikov @ 2006-07-01  1:00 UTC (permalink / raw)
  To: git

This patch allows history display of whole trees/directories a la
"git-rev-list HEAD -- <dir or file>".  I find this useful especially
when a project lives in its own subdirectory, as opposed to being all
of the GIT repository (i.e. when a sub-project is merged into a
super-project).

Signed-off-by: Luben Tuikov <ltuikov@yahoo.com>
---
 gitweb/gitweb.cgi |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/gitweb/gitweb.cgi b/gitweb/gitweb.cgi
index 2705a93..d808900 100755
--- a/gitweb/gitweb.cgi
+++ b/gitweb/gitweb.cgi
@@ -1676,6 +1676,7 @@ #			      " | " . $cgi->a({-href => "$my
 			      "</td>\n" .
 			      "<td class=\"link\">" .
 			      $cgi->a({-href => "$my_uri?" .
esc_param("p=$project;a=tree;h=$t_hash$base_key;f=$base$t_name")}, "tree") .
+			      " | " . $cgi->a({-href => "$my_uri?" .
esc_param("p=$project;a=history;h=$hash_base;f=$base$t_name")}, "history") .
 			      "</td>\n";
 		}
 		print "</tr>\n";
-- 
1.4.1.rc2.g4ce4

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-07-01 22:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-01  1:00 [PATCH] Enable tree (directory) history display Luben Tuikov
2006-07-01  2:10 ` Junio C Hamano
2006-07-01  2:43   ` Luben Tuikov
2006-07-01  3:01     ` Junio C Hamano
2006-07-01  3:10       ` Luben Tuikov
2006-07-01  3:21     ` Linus Torvalds
2006-07-01  3:45       ` Linus Torvalds
2006-07-01 22:45         ` Luben Tuikov
2006-07-01 19:38       ` Luben Tuikov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox