mirror of
https://github.com/git/git.git
synced 2026-03-17 04:00:11 +01:00
Merge branch 'master' into next
* master: exec_cmd: remove unused extern Documentation/fast-import: put explanation of M 040000 <dataref> "" in context svndump.c: Fix a printf format compiler warning
This commit is contained in:
@@ -534,9 +534,6 @@ start with double quote (`"`).
|
||||
If an `LF` or double quote must be encoded into `<path>` shell-style
|
||||
quoting should be used, e.g. `"path/with\n and \" in it"`.
|
||||
|
||||
Additionally, in `040000` mode, `<path>` may also be an empty string
|
||||
(`""`) to specify the root of the tree.
|
||||
|
||||
The value of `<path>` must be in canonical form. That is it must not:
|
||||
|
||||
* contain an empty directory component (e.g. `foo//bar` is invalid),
|
||||
@@ -545,6 +542,8 @@ 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).
|
||||
|
||||
The root of the tree can be represented by an empty string as `<path>`.
|
||||
|
||||
It is recommended that `<path>` always be encoded using UTF-8.
|
||||
|
||||
`filedelete`
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
#include "quote.h"
|
||||
#define MAX_ARGS 32
|
||||
|
||||
extern char **environ;
|
||||
static const char *argv_exec_path;
|
||||
static const char *argv0_path;
|
||||
|
||||
|
||||
@@ -211,7 +211,7 @@ void svndump_read(const char *url)
|
||||
if (key == keys.svn_fs_dump_format_version) {
|
||||
dump_ctx.version = atoi(val);
|
||||
if (dump_ctx.version > 2)
|
||||
die("expected svn dump format version <= 2, found %d",
|
||||
die("expected svn dump format version <= 2, found %"PRIu32,
|
||||
dump_ctx.version);
|
||||
} else if (key == keys.uuid) {
|
||||
dump_ctx.uuid = pool_intern(val);
|
||||
|
||||
Reference in New Issue
Block a user