|
@@ -52,9 +52,9 @@ module KGrader::Backend |
|
|
end |
|
|
end |
|
|
|
|
|
|
|
|
def commit(repo, message, *paths) |
|
|
def commit(repo, message, *paths) |
|
|
fullpaths = *paths.map { |fn| File.join repo, fn } |
|
|
|
|
|
run 'add', fullpaths |
|
|
|
|
|
run 'commit', '-m', message, fullpaths |
|
|
|
|
|
|
|
|
fullpaths = paths.map { |fn| File.join repo, fn } |
|
|
|
|
|
run 'add', *fullpaths |
|
|
|
|
|
run 'commit', '-m', message, *fullpaths |
|
|
end |
|
|
end |
|
|
|
|
|
|
|
|
def commit_date(repo) |
|
|
def commit_date(repo) |
|
|