undoubtedly trivial question but here goes, anyway; i want to write
a wiki page that will contain links to various files and directories
of a git repo available via gitweb(?):

 http://git.denx.de/?p=u-boot.git;a=tree

if i want a link that will always point to, say, the most recent
version of the top-level file "Makefile", is this the correct URL?

 http://git.denx.de/?p=u-boot.git;a=blob;f=Makefile;hb=HEAD

i note there is no reference to the "master" branch so i'm assuming
that's implied.

  and if i want a similar URL to a directory, i'm also guessing it's
something like:

 http://git.denx.de/?p=u-boot.git;a=tree;f=board/ti/am335x;hb=HEAD

am i assuming correctly?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

_______________________________________________
Linux mailing list
Linux@lists.oclug.on.ca
http://oclug.on.ca/mailman/listinfo/linux

Reply via email to