mirror of
https://github.com/git/git.git
synced 2026-03-15 03:00:07 +01:00
Merge branch 'master' into next
* master: fast-import: introduce "feature notes" command fast-import: clarify documentation of "feature" command Documentation/merge subtree How-To: fix typo Conflicts: Documentation/howto/using-merge-subtree.txt
This commit is contained in:
@@ -952,6 +952,13 @@ cat-blob::
|
||||
rather than wasting time on the early part of an import
|
||||
before the unsupported command is detected.
|
||||
|
||||
notes::
|
||||
Require that the backend support the 'notemodify' (N)
|
||||
subcommand to the 'commit' command.
|
||||
Versions of fast-import not supporting notes will exit
|
||||
with a message indicating so.
|
||||
|
||||
|
||||
`option`
|
||||
~~~~~~~~
|
||||
Processes the specified option so that git fast-import behaves in a
|
||||
|
||||
@@ -71,5 +71,5 @@ Additional tips
|
||||
relevant parts of your tree.
|
||||
|
||||
- Please note that if the other project merges from you, then it will
|
||||
connects its history to yours, which can be something they don't want
|
||||
connect its history to yours, which can be something they don't want
|
||||
to.
|
||||
|
||||
@@ -3001,6 +3001,8 @@ static int parse_one_feature(const char *feature, int from_stream)
|
||||
relative_marks_paths = 0;
|
||||
} else if (!prefixcmp(feature, "force")) {
|
||||
force_update = 1;
|
||||
} else if (!strcmp(feature, "notes")) {
|
||||
; /* do nothing; we have the feature */
|
||||
} else {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -120,6 +120,7 @@ test_expect_success 'add notes with simple M command' '
|
||||
|
||||
test_tick
|
||||
cat >input <<INPUT_END
|
||||
feature notes
|
||||
commit refs/notes/test
|
||||
committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE
|
||||
data <<COMMIT
|
||||
|
||||
Reference in New Issue
Block a user