mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-21 22:32:41 +01:00
Correct some references to '--diff-only', now '--preview'.
Summary: Test Plan: Reviewers: CC:
This commit is contained in:
parent
50f42aad8d
commit
2c4b453757
1 changed files with 3 additions and 3 deletions
|
@ -687,7 +687,7 @@ EOTEXT
|
||||||
"Changes in the specified commit range include more than one ".
|
"Changes in the specified commit range include more than one ".
|
||||||
"commit with a valid template commit message. This is ambiguous, ".
|
"commit with a valid template commit message. This is ambiguous, ".
|
||||||
"your commit range should contain only one template commit ".
|
"your commit range should contain only one template commit ".
|
||||||
"message. Alternatively, use --diff-only to ignore commit ".
|
"message. Alternatively, use --preview to ignore commit ".
|
||||||
"messages.");
|
"messages.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -699,13 +699,13 @@ EOTEXT
|
||||||
throw new ArcanistUsageException(
|
throw new ArcanistUsageException(
|
||||||
"All changes between the specified commits have template parsing ".
|
"All changes between the specified commits have template parsing ".
|
||||||
"problems:\n\n".$desc."\n\nIf you only want to create a diff ".
|
"problems:\n\n".$desc."\n\nIf you only want to create a diff ".
|
||||||
"(not a revision), use --diff-only to ignore commit messages.");
|
"(not a revision), use --preview to ignore commit messages.");
|
||||||
} else if (count($problems) == 1) {
|
} else if (count($problems) == 1) {
|
||||||
throw new ArcanistUsageException(
|
throw new ArcanistUsageException(
|
||||||
"Commit message is not properly formatted:\n\n".$desc."\n\n".
|
"Commit message is not properly formatted:\n\n".$desc."\n\n".
|
||||||
"You should use the standard git commit template to provide a ".
|
"You should use the standard git commit template to provide a ".
|
||||||
"commit message. If you only want to create a diff (not a ".
|
"commit message. If you only want to create a diff (not a ".
|
||||||
"revision), use --diff-only to ignore commit messages.");
|
"revision), use --preview to ignore commit messages.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue