Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue69 #79

Merged
merged 4 commits into from
Oct 16, 2015
Merged

Issue69 #79

merged 4 commits into from
Oct 16, 2015

Conversation

hallzy
Copy link
Contributor

@hallzy hallzy commented Oct 16, 2015

Merged PR in my fork from @michaeldfallen.

hallzy and others added 4 commits October 15, 2015 12:34
The OSX version of stat uses %m to return the 'modified' date since
epoch. The GNU version of stat doesn't have the %m format code.

%Z which was being used in @hallzy's fix returns the 'changed' date
since epoch, which only changes when you modify the metadata on a file.
This meant that when we `touch $dot_git/.lastupdatetime` the 'changed'
date doesn't change.

I've switched to the %Y flag which returns the 'modified' time. This is
the time that is changed when `touch` modifies the file.
Switch to using %Y to get the modified time
@hallzy
Copy link
Contributor Author

hallzy commented Oct 16, 2015

see PR #77.

This is allow the 5 minute fetch to work on OSX as well as Linux distros such as Ubuntu.

@michaeldfallen
Copy link
Owner

Looks good 👍 Merging!

michaeldfallen added a commit that referenced this pull request Oct 16, 2015
@michaeldfallen michaeldfallen merged commit eb0e287 into michaeldfallen:master Oct 16, 2015
@hallzy hallzy deleted the issue69 branch October 16, 2015 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants