Re: [PATCH 13/19] gitweb: Add invisible hyperlink to from-file/to-file diff header

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Fri, 25 Aug 2006, Jakub Narebski wrote:
>
> Change replacing hashes as from-file/to-file with filenames from
> difftree to adding invisible (except underlining on hover/mouseover)
> hyperlink to from-file/to-file blob.  /dev/null as from-file or
> to-file is not changed (is not hyperlinked).

Wouldn't it be even better to have the hyperlink (or a new, separate one) 
point to the history for that file, too?

That way, you can go to the commit-diff, and when you see a diff for a 
file, you can easily just ask for the whole history for that file. As it 
is, you can get that, but only by going to the "commit" thing, not from 
the "commit-diff" thing.

Alternatively, maybe commit-diff should have a header with the files it 
changes (ie it would truly be a superset of the "commit" case)? That might 
be even nicer, since you'd not have to scroll through a potentially big 
diff for other files in order to get to the one you care about.

(If you do the "header with changed files", each file could have the same 
three buttons as in the "commit" view: "blob" (pointing to the blob), 
"diff" (which just points to _within_ the current window, so that you can 
get to the start of that particular file diff) and "history" (which 
obviously does what the "commit" case does too - generate a history page).

			Linus
-
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

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]