git-annex/Assistant
Joey Hess e4d7e2ebde fix for Windows file timestamp timezone madness
On Windows, changing the time zone causes the apparent mtime of files to
change. This confuses git-annex, which natually thinks this means the files
have actually been modified (since THAT'S WHAT A MTIME IS FOR, BILL <sheesh>).

Work around this stupidity, by using the inode sentinal file to detect if
the timezone has changed, and calculate a TSDelta, which will be applied
when generating InodeCaches.

This should add no overhead at all on unix. Indeed, I sped up a few
things slightly in the refactoring.

Seems to basically work! But it has a big known problem:
If the timezone changes while the assistant (or a long-running command)
runs, it won't notice, since it only checks the inode cache once, and
so will use the old delta for all new inode caches it generates for new
files it's added. Which will result in them seeming changed the next time
it runs.

This commit was sponsored by Vincent Demeester.
2014-06-12 13:42:21 -04:00
..
Alert add desktop notifications 2014-03-22 14:12:19 -04:00
Install rename favicon.png to logo_16x16.png 2014-03-16 15:52:16 -04:00
Pairing external special remotes mostly implemented (untested) 2013-12-26 18:23:13 -04:00
Threads fix for Windows file timestamp timezone madness 2014-06-12 13:42:21 -04:00
Types get rid of (completely safe) uses of Char8 2014-05-27 20:26:10 -04:00
WebApp export CreateProcess fields from Utility.Process 2014-06-10 19:20:14 -04:00
XMPP export CreateProcess fields from Utility.Process 2014-06-10 19:20:14 -04:00
Alert.hs webapp: Rework xmpp nudge to prompt for either xmpp or a ssh remote be set up. 2014-04-09 16:27:24 -04:00
BranchChange.hs split BranchChange and lifted 2012-10-29 19:20:54 -04:00
Changes.hs use DList for the transfer queue 2013-04-25 01:33:44 -04:00
Commits.hs remove last use of TSet 2013-04-24 17:16:04 -04:00
Common.hs refactor alert button creation code 2013-04-04 01:48:26 -04:00
CredPairCache.hs add CredPair cache 2014-04-29 18:08:02 -04:00
DaemonStatus.hs webapp: Show a network signal icon next to ssh remotes that it's currently connected with. 2014-04-09 15:26:41 -04:00
DeleteRemote.hs add config page for fsck, and alert with button when a fsck is running 2013-10-10 18:05:53 -04:00
Drop.hs avoid using function named that conflicts with name used in newer version of process library 2014-01-29 13:44:53 -04:00
Fsck.hs webapp: remind user when using repositories that lack consistency checks 2013-10-29 16:50:38 -04:00
Gpg.hs webapp: Support storing encrypted git repositories on rsync.net. 2013-09-26 16:43:00 -04:00
Install.hs export CreateProcess fields from Utility.Process 2014-06-10 19:20:14 -04:00
MakeRemote.hs fix UI when enabling existing gcrypt repo 2014-05-30 14:50:44 -04:00
Monad.hs add CredPair cache 2014-04-29 18:08:02 -04:00
NamedThread.hs restart on upgrade is working, including automatic restart 2013-11-23 00:54:08 -04:00
NetMessager.hs clarify notifyNetMessagerRestart 2013-08-24 13:49:04 -04:00
Pairing.hs Improve local pairing behavior when two computers both try to start the pairing process separately. 2013-11-02 15:10:29 -04:00
Pushes.hs whitespace fixes 2012-12-13 00:45:27 -04:00
RemoteControl.hs assistant: Now detects immediately when other repositories push changes to 2014-04-08 15:23:50 -04:00
Repair.hs Assistant: Remove stale MERGE_HEAD files in lockfile cleanup. 2014-01-01 22:05:33 -04:00
RepoProblem.hs add post-repair actions 2013-10-29 14:25:20 -04:00
Restart.hs export CreateProcess fields from Utility.Process 2014-06-10 19:20:14 -04:00
ScanRemotes.hs revert use of Data.Map.Strict 2014-01-07 14:55:06 -04:00
Ssh.hs webapp: Include ssh port in mangled hostname. 2014-06-05 12:50:15 -04:00
Sync.hs assistant: Now detects immediately when other repositories push changes to 2014-04-08 15:23:50 -04:00
TransferQueue.hs try to drop unused object if it does not need to be transferred anywhere 2014-01-23 16:51:16 -04:00
TransferrerPool.hs export CreateProcess fields from Utility.Process 2014-06-10 19:20:14 -04:00
TransferSlots.hs assistant: When there are multiple remotes giving different ways to access the same repository, honor remote cost settings and use the cheapest available. 2014-05-19 16:19:33 -04:00
Unused.hs add webapp UI to manage unused files 2014-01-23 15:09:43 -04:00
Upgrade.hs include path in "Cannot find old distribution bundle; not upgrading" message 2014-05-21 13:27:40 -04:00
WebApp.hs webapp: Use securemem for constant time auth token comparisons. 2014-03-12 21:41:20 -04:00
XMPP.hs remove Read instance for Ref 2014-02-19 01:19:57 -04:00