summaryrefslogtreecommitdiff
path: root/doc/bugs/FAT__58___Date_resolution_for_mtime_2s--__62___implications/comment_8_2500e6f9545b916dfa41549140c053fd._comment
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-03-12 12:57:18 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-03-12 12:57:18 -0400
commitca10c06819aacc50d4423836ce51fc4486803789 (patch)
treee96072aef36f12d28d715fd4b7396d3fea4eef4c /doc/bugs/FAT__58___Date_resolution_for_mtime_2s--__62___implications/comment_8_2500e6f9545b916dfa41549140c053fd._comment
parent024dd384140b25f69defd762e41fd5e4af4f3567 (diff)
rename files containing :
This is mostly to let the repo check out on windows w/o using cygwin's git. But, bash completion is also crap with : , so ..
Diffstat (limited to 'doc/bugs/FAT__58___Date_resolution_for_mtime_2s--__62___implications/comment_8_2500e6f9545b916dfa41549140c053fd._comment')
-rw-r--r--doc/bugs/FAT__58___Date_resolution_for_mtime_2s--__62___implications/comment_8_2500e6f9545b916dfa41549140c053fd._comment41
1 files changed, 41 insertions, 0 deletions
diff --git a/doc/bugs/FAT__58___Date_resolution_for_mtime_2s--__62___implications/comment_8_2500e6f9545b916dfa41549140c053fd._comment b/doc/bugs/FAT__58___Date_resolution_for_mtime_2s--__62___implications/comment_8_2500e6f9545b916dfa41549140c053fd._comment
new file mode 100644
index 000000000..193038472
--- /dev/null
+++ b/doc/bugs/FAT__58___Date_resolution_for_mtime_2s--__62___implications/comment_8_2500e6f9545b916dfa41549140c053fd._comment
@@ -0,0 +1,41 @@
+[[!comment format=mdwn
+ username="martin"
+ ip="89.183.78.73"
+ subject="`git-annex add` (called by sync) should do the job and bring the files back home (IMHO)"
+ date="2014-06-10T15:58:25Z"
+ content="""
+If one does an `git annex sync` these crippled-pseudo-modified-files are *automatically* `git annex add`ed
+
+ git annex status
+ M datei1
+ M datei5
+ M datei6
+ git annex sync
+ commit add datei1 ok
+ add datei5 ok
+ add datei6 ok
+
+To avoid the risk of adding and propagating potentially corrupted content `git-annex add` should
+\"simply\" correct the timestamps (adjust to the new even inode values) for files with correct checksum but timestamp
+difference of 1s or 1h
+
+With this procedure i would have better sleep with this personal second use case:
+
+repo1: on the computer (direct mode - client)
+repo2: on usb stick - (direct mode - client - vfat - music for car)
+
+From time to time mp3 files are transferred to the stick. Then stick
+goes to the car and after some days back to the computer to be
+synchronized again. Everytime approx. 50% of the recently new added files are
+added again (via sync) because of these nonsens timestamps.
+
+So i think, the clean solution is to correct only the timestamps instead
+of adding again possibly corrupted files. If we dont do this users adapt to
+add files again and again (they need not to be added) and one day they
+add corrupted content. Like on windows (tm) you klick OK and OK again and
+here you add again and again and one day one add once too much ;-)
+
+Excuse me for this long comment...
+
+P.S. git annex is an ingenious piece of software - thanks a lot for this joey!
+"""]]