User Tools

Site Tools


userdoc:git-url-shorterners

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
userdoc:git-url-shorterners [2016-01-19 22:06]
mricon
userdoc:git-url-shorterners [2016-01-25 16:12]
mricon
Line 32: Line 32:
 ===== /h/ for Heads ===== ===== /h/ for Heads =====
  
-    /​[name]/​h/​[head] ​       -> /​cgit/​linux/​kernel/​git/​[name]/​linux.git/?​h=[head] +    /​[name]/​h/​[head] ​       -> /​cgit/​linux/​kernel/​git/​[name]/​linux.git/log/?​h=[head] 
-    /​[name]/​[repo]/​h/​[head] -> /​cgit/​linux/​kernel/​git/​[name]/​[repo].git/?​h=[head]+    /​[name]/​[repo]/​h/​[head] -> /​cgit/​linux/​kernel/​git/​[name]/​[repo].git/log/?h=[head]
  
 If ''​[repo]''​ is omitted, "​linux.git"​ is assumed. If ''​[repo]''​ is omitted, "​linux.git"​ is assumed.
Line 40: Line 40:
     https://​git.kernel.org/​s390/​h/​for-linus     https://​git.kernel.org/​s390/​h/​for-linus
     https://​git.kernel.org/​next/​linux-next/​h/​stable     https://​git.kernel.org/​next/​linux-next/​h/​stable
 +
 +===== /d/ and /ds/ for diffstat =====
 +
 +    /​[name]/​d/​[id1]/​[id2] ​       -> /​cgit/​linux/​kernel/​git/​[name]/​linux.git/​diff/​id=[id1]&​id2=[id2]
 +    /​[name]/​[repo]/​d/​[id1]/​[id2] -> /​cgit/​linux/​kernel/​git/​[name]/​[repo].git/​diff/​id=[id1]&​id2=[id2]
 +
 +Both ''​[id1]''​ and ''​[id2]''​ would normally be tags, but can be a full sha1 or at least 7 chars long. Use ''/​ds/''​ for "stat only" view (e.g. when full diff is way too huge to be reasonably useful for anything).
 +
 +If ''​[repo]''​ is omitted, "​linux.git"​ is assumed.
 +
 +Examples:
 +    https://​git.kernel.org/​torvalds/​ds/​v4.5-rc1/​v4.4
 +    https://​git.kernel.org/​stable/​linux-stable/​d/​v2.6.32.69/​v2.6.32.68
  
userdoc/git-url-shorterners.txt · Last modified: 2020-05-08 14:03 by mricon