summaryrefslogtreecommitdiff
path: root/doc/git-annex.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-09-25 16:48:24 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-09-25 16:48:24 -0400
commit51d5e6b4c716847dc544fa2d56bbe4567f1bfaf4 (patch)
treea13a562265b76a756c1d18b66cc0a194902a0dfb /doc/git-annex.mdwn
parent067974202e285bc8d0840c2c64e9b84fc52c7c21 (diff)
New --time-limit option, makes long git-annex commands stop after a specified amount of time.
Diffstat (limited to 'doc/git-annex.mdwn')
-rw-r--r--doc/git-annex.mdwn17
1 files changed, 14 insertions, 3 deletions
diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn
index cf6a0c6bd..ffcfa1f3b 100644
--- a/doc/git-annex.mdwn
+++ b/doc/git-annex.mdwn
@@ -259,13 +259,13 @@ subdirectories).
To check a remote to fsck, specify --from.
+ To avoid expensive checksum calculations (and expensive transfers when
+ fscking a remote), specify --fast.
+
To start a new incremental fsck, specify --incremental. Then
the next time you fsck, you can specify --more to skip over
files that have already been checked, and continue where it left off.
- To avoid expensive checksum calculations (and expensive transfers when
- fscking a remote), specify --fast.
-
* unused
Checks the annex for data that does not correspond to any files present
@@ -514,6 +514,17 @@ subdirectories).
Overrides the `annex.numcopies` setting, forcing git-annex to ensure the
specified number of copies exist.
+* --time-limit=time
+
+ Limits how long a git-annex command runs. The time can be something
+ like "5h", or "30m" or even "45s" or "10d".
+
+ Note that git-annex may continue running a little past the specified
+ time limit, in order to finish processing a file.
+
+ Also, note that if the time limit prevents git-annex from doing all it
+ was asked to, it will exit with a special code, 101.
+
* --trust=repository
* --semitrust=repository
* --untrust=repository