1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00

Revert short sha1 revision.

This deletion has been introduced on a previous PR.

Added changelog.

Fixed typo.
This commit is contained in:
Benjamin Laugueux 2014-04-18 08:32:39 +02:00 committed by Benjamin Laugueux
parent b0c88782f5
commit cc091adec9
2 changed files with 2 additions and 1 deletions

View file

@ -7,6 +7,7 @@ Reverse Chronological Order:
https://github.com/capistrano/capistrano/compare/v3.2.0...HEAD
* Minor changes:
* Revert short sha1 revision with git. (@blaugueux)
* Changed asking question to more standard format (like common unix commandline tools) (@sponomarev)
* Fixed typos in the README. (@sponomarev)
* Added `keys` method to Configuration to allow introspection of configuration options. (@juanibiapina)

View file

@ -34,7 +34,7 @@ class Capistrano::Git < Capistrano::SCM
end
def fetch_revision
context.capture(:git, "rev-parse #{fetch(:branch)}")
context.capture(:git, "rev-parse --short #{fetch(:branch)}")
end
end
end