From 839348cc65dc3bb4caa06ea4a8f3ed3c25d184b7 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 17 Dec 2020 15:40:51 -0500 Subject: 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. --- dir-spec.txt | 7 ------- 1 file changed, 7 deletions(-) (limited to 'dir-spec.txt') 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 - ",c" Replace lines n1 through n2, inclusive, with the following block. - "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 -- cgit v1.2.3-54-g00ecf