mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 23:46:24 -04:00
I don’t have a Mac/BSD system to test, but this should fix #1118
This commit is contained in:
parent
3d964687fc
commit
058cb0763e
|
|
@ -80,7 +80,7 @@ git --no-pager whatchanged ${whatchanged_opts} --format='%ct' . |
|
|||
print " echo \"+ touch -h -d@$1 $2\""
|
||||
print " touch -h -d@$1 \"$2\""
|
||||
} else {
|
||||
printf(" t=$(date %s$1 \"+%Y%m%d%H%M.%S\")\n", date_flags)
|
||||
print " t=$(date -r$1 \"+%Y%m%d%H%M.%S\")"
|
||||
print " echo \"+ touch -h -t $t $2\""
|
||||
print " touch -h -t $t \"$2\""
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue