aboutsummaryrefslogtreecommitdiff
path: root/dir-spec.txt
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-12-17 15:40:51 -0500
committerNick Mathewson <nickm@torproject.org>2020-12-17 15:40:51 -0500
commit839348cc65dc3bb4caa06ea4a8f3ed3c25d184b7 (patch)
tree75698b28a7cdee0d985fc17927d7488ab1c9d5af /dir-spec.txt
parent000a3b817bfddb650f97f32138a5e6f2d5d7c36d (diff)
downloadtorspec-839348cc65dc3bb4caa06ea4a8f3ed3c25d184b7.tar.gz
torspec-839348cc65dc3bb4caa06ea4a8f3ed3c25d184b7.zip
dir-spec: Remove the notion of a "current" location in our ed diffs
Tor has never generated or implemented this diff command. Found while working on arti.
Diffstat (limited to 'dir-spec.txt')
-rw-r--r--dir-spec.txt7
1 files changed, 0 insertions, 7 deletions
diff --git a/dir-spec.txt b/dir-spec.txt
index 148163d..cdbe00b 100644
--- a/dir-spec.txt
+++ b/dir-spec.txt
@@ -4049,7 +4049,6 @@ E. Limited ed diff format
- "<n1>,<n2>c" Replace lines n1 through n2, inclusive, with the
following block.
- "<n1>a" Append the following block after line n1.
- - "a" Append the following block after the current line.
Note that line numbers always apply to the file after all previous
commands have already been applied. Note also that line numbers
@@ -4065,12 +4064,6 @@ E. Limited ed diff format
successfully apply the diff even if they have an unusual encoding for
the signatures.
- The "current line" is either the first line of the file, if this is
- the first command, the last line of a block we added in an append or
- change command, or the line immediate following a set of lines we just
- deleted (or the last line of the file if there are no lines after
- that).
-
The replace and append command take blocks. These blocks are simply
appended to the diff after the line with the command. A line with
just a period (".") ends the block (and is not part of the lines