mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-04-18 12:45:52 +00:00
slight optimization
This commit is contained in:
parent
a23216cc45
commit
7cf0a2925b
1 changed files with 5 additions and 3 deletions
|
|
@ -41,10 +41,12 @@ class HarpBlog
|
|||
end
|
||||
|
||||
def status
|
||||
local = local_version
|
||||
remote = remote_version
|
||||
{
|
||||
'local-version' => local_version,
|
||||
'remote-version' => remote_version,
|
||||
'dirty' => dirty?,
|
||||
'local-version' => local,
|
||||
'remote-version' => remote,
|
||||
'dirty' => local != remote,
|
||||
}
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue