diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-06-19 11:45:24 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-06-19 11:45:24 -0700 |
commit | 56b82e0ecf58dd1f2b7585425dbdebbbbe5668a4 (patch) | |
tree | f46e1ec38f45296fc4427940d20f38911c696a70 /subsurface.pro | |
parent | 845030a8ad9b2c6b245e215430a8bce95578055d (diff) | |
download | subsurface-56b82e0ecf58dd1f2b7585425dbdebbbbe5668a4.tar.gz |
Git storage: change time encoding in directory names
We used to use [[yyyy-]mm-]nn-ddd-hh:mm:ss[~hex] in our git storage format
for directory that contained dives. Problem with the is that on Windows
the colon ':' is an illegal character in a filename. So libgit2 refuses to
clone such a repository on Windows.
So instead we now always write dive directories in git repositories as
[[yyyy-]mm-]nn-ddd-hh=mm=ss[~hex] which replaces the ':' with an '='.
Of course we load / parse both formats so that older formats still work.
The next time they are written all the names change which causes rather
huge commits, but that's the only way I see for cloud storage to work on
Windows.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface.pro')
0 files changed, 0 insertions, 0 deletions