Re: [PATCH] Documentation/fast-import: put explanation of M 040000 <dataref> "" in context
> Jonathan Nieder <jrnieder@gmail.com> writes:
Show 10 quoted lines
>> +++ b/Documentation/git-fast-import.txt
>> @@ -545,6 +542,9 @@ The value of `<path>` must be in canonical form. That is it must not:
>> * contain the special component `.` or `..` (e.g. `foo/./bar` and
>> `foo/../bar` are invalid).
>>
>> +In `040000` mode, `<path>` can be the empty string (`""`)
>> +to specify the root of the tree.
>> +
>
> Thanks, but is "In x mode" an appropriate wording here in the first place?
Good point. No, it isn't.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
---
For squashing.
Documentation/git-fast-import.txt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Documentation/git-fast-import.txt b/Documentation/git-fast-import.txt
index 43d2174..7068de3 100644
--- a/Documentation/git-fast-import.txt
+++ b/Documentation/git-fast-import.txt
@@ -542,7 +542,7 @@ The value of `<path>` must be in canonical form. That is it must not:
* contain the special component `.` or `..` (e.g. `foo/./bar` and
`foo/../bar` are invalid).
-In `040000` mode, `<path>` can be the empty string (`""`)
+If `<mode>` is `040000`, `<path>` can be the empty string (`""`)
to specify the root of the tree.
It is recommended that `<path>` always be encoded using UTF-8.
--
1.7.4.rc2