Skip to content

Commit adcb768

Browse files
committed
Reformat comments to 80cols.
1 parent ee9bc3c commit adcb768

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

lib/vlad/git.rb

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ class Vlad::Git
66
set :source, Vlad::Git.new
77
set :git_cmd, "git"
88

9-
##
109
# Returns the command that will check out +revision+ from the
1110
# repository into directory +destination+. +revision+ can be any
1211
# SHA1 or equivalent (e.g. branch, tag, etc...)
@@ -39,10 +38,9 @@ def checkout(revision, destination)
3938
end
4039
end
4140

42-
##
43-
# Returns the command that will export +revision+ from the current directory
44-
# into the directory +destination+.
45-
# Expects to be run from +scm_path+ after Vlad::Git#checkout
41+
# Returns the command that will export +revision+ from the current
42+
# directory into the directory +destination+. Expects to be run
43+
# from +scm_path+ after Vlad::Git#checkout.
4644

4745
def export(revision, destination)
4846
revision = 'HEAD' if revision =~ /head/i
@@ -57,9 +55,8 @@ def export(revision, destination)
5755
].join(" && ")
5856
end
5957

60-
##
61-
# Returns a command that maps human-friendly revision identifier +revision+
62-
# into a git SHA1.
58+
# Returns a command that maps human-friendly revision identifier
59+
# +revision+ into a git SHA1.
6360

6461
def revision(revision)
6562
revision = 'HEAD' if revision =~ /head/i

0 commit comments

Comments
 (0)