Skip to content

Commit a67781b

Browse files
committed
use abbreviated SHA1s in compare URL
1 parent e32e304 commit a67781b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/campfire.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
end.join("\n")
2121

2222
if commits.size > 1
23-
before, after = payload['before'], payload['after']
23+
before, after = payload['before'][0..6], payload['after'][0..6]
2424
url = payload['repository']['url'] + "/compare/#{before}...#{after}"
2525
else
2626
url = commits.first['url']

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy