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
userdoc:git-url-shorterners [2016-01-25 16:12]
mricon
userdoc:git-url-shorterners [2018-08-27 18:54]
mricon
Line 4: Line 4:
 ===== /c/ for commits ===== ===== /c/ for commits =====
  
-    /​[name]/​c/​[sha1] ​       -> /cgit/​linux/​kernel/​git/​[name]/​linux.git/​commit/?​id=[sha1] +    /​[name]/​c/​[sha1] ​       -> /pub/scm/​linux/​kernel/​git/​[name]/​linux.git/​commit/?​id=[sha1] 
-    /​[name]/​[repo]/​c/​[sha1] -> /cgit/​linux/​kernel/​git/​[name]/​[repo].git/​commit/?​id=[sha1]+    /​[name]/​[repo]/​c/​[sha1] -> /pub/scm/​linux/​kernel/​git/​[name]/​[repo].git/​commit/?​id=[sha1]
  
 If ''​[repo]''​ is omitted, "​linux.git"​ is assumed. If ''​[repo]''​ is omitted, "​linux.git"​ is assumed.
Line 12: Line 12:
  
     https://​git.kernel.org/​torvalds/​c/​4f27395     https://​git.kernel.org/​torvalds/​c/​4f27395
-    https://​git.kernel.org/​stable/linux-stable/c/a585d2b+    https://​git.kernel.org/​tip/tip/c/2923b27
  
 The commit can be a full sha1 or at least 7 chars long; it can also be a tag name or any other tree object, e.g.: The commit can be a full sha1 or at least 7 chars long; it can also be a tag name or any other tree object, e.g.:
Line 20: Line 20:
 ===== /p/ for patches ===== ===== /p/ for patches =====
  
-    /​[name]/​p/​[sha1] ​       -> /cgit/​linux/​kernel/​git/​[name]/​linux.git/​patch/?​id=[sha1] +    /​[name]/​p/​[sha1] ​       -> /pub/scm/​linux/​kernel/​git/​[name]/​linux.git/​patch/?​id=[sha1] 
-    /​[name]/​[repo]/​p/​[sha1] -> /cgit/​linux/​kernel/​git/​[name]/​[repo].git/​patch/?​id=[sha1]+    /​[name]/​[repo]/​p/​[sha1] -> /pub/scm/​linux/​kernel/​git/​[name]/​[repo].git/​patch/?​id=[sha1]
  
 If ''​[repo]''​ is omitted, "​linux.git"​ is assumed. If ''​[repo]''​ is omitted, "​linux.git"​ is assumed.
Line 28: Line 28:
  
     https://​git.kernel.org/​torvalds/​p/​4f27395     https://​git.kernel.org/​torvalds/​p/​4f27395
-    https://​git.kernel.org/​stable/linux-stable/p/a585d2b+    https://​git.kernel.org/​tip/tip/p/2923b27
  
 ===== /h/ for Heads ===== ===== /h/ for Heads =====
  
-    /​[name]/​h/​[head] ​       -> /cgit/​linux/​kernel/​git/​[name]/​linux.git/​log/?​h=[head] +    /​[name]/​h/​[head] ​       -> /pub/scm/​linux/​kernel/​git/​[name]/​linux.git/​log/?​h=[head] 
-    /​[name]/​[repo]/​h/​[head] -> /cgit/​linux/​kernel/​git/​[name]/​[repo].git/​log/?​h=[head]+    /​[name]/​[repo]/​h/​[head] -> /pub/scm/​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 43: Line 43:
 ===== /d/ and /ds/ for diffstat ===== ===== /d/ and /ds/ for diffstat =====
  
-    /​[name]/​d/​[id1]/​[id2] ​       -> /cgit/​linux/​kernel/​git/​[name]/​linux.git/​diff/​id=[id1]&​id2=[id2] +    /​[name]/​d/​[id1]/​[id2] ​       -> /pub/scm/​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]+    /​[name]/​[repo]/​d/​[id1]/​[id2] -> /pub/scm/​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). 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).
Line 52: Line 52:
 Examples: Examples:
     https://​git.kernel.org/​torvalds/​ds/​v4.5-rc1/​v4.4     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+    https://​git.kernel.org/​tip/tip/d/v4.18-rc2/v4.18-rc1
  
userdoc/git-url-shorterners.txt · Last modified: 2018-08-27 18:54 by mricon