summaryrefslogtreecommitdiff
path: root/doc/design/assistant
diff options
context:
space:
mode:
authorGravatar http://nullroute.eu.org/~grawity/ <Mantas@web>2013-10-19 15:50:47 +0000
committerGravatar admin <admin@branchable.com>2013-10-19 15:50:47 +0000
commit91023b0f488fc7118e924e1398f4d6385ff5cdf0 (patch)
tree34fcc8721e8f27b5ca5a0f46b165cfaa6719818b /doc/design/assistant
parent0058a307676ea5526f8f0b3d90cbe2edbd0e6c34 (diff)
Added a comment
Diffstat (limited to 'doc/design/assistant')
-rw-r--r--doc/design/assistant/disaster_recovery/comment_1_955dc807196863da23aa8dbd15e04364._comment10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/design/assistant/disaster_recovery/comment_1_955dc807196863da23aa8dbd15e04364._comment b/doc/design/assistant/disaster_recovery/comment_1_955dc807196863da23aa8dbd15e04364._comment
new file mode 100644
index 000000000..63c7e942d
--- /dev/null
+++ b/doc/design/assistant/disaster_recovery/comment_1_955dc807196863da23aa8dbd15e04364._comment
@@ -0,0 +1,10 @@
+[[!comment format=mdwn
+ username="http://nullroute.eu.org/~grawity/"
+ nickname="Mantas"
+ subject="comment 1"
+ date="2013-10-19T15:50:47Z"
+ content="""
+The restriction on fetching over the Git protocol is, partly, for security reasons – e.g. if one accidentally pushes a commit with private data, and then `push --force`'s a cleaned-up version, Git needs to prevent anyone from downloading the old commit by just giving its SHA1 (e.g. obtained from an IRC/email push notification). So it restricts fetching to the tips of any ref. (I've been told that it could check if the given object is merely *reachable* from any ref, but it doesn't do so for performance reasons.)
+
+git 1.8 has a minor way to relax this requirement – it allows giving a SHA1 to `git fetch` (although I think the protocol already worked this way), and it allows refs to be hidden server-side but still remain fetchable, so in theory there could be a (hidden) ref for every object, for easy fetching...
+"""]]