-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mononoke_types: disallow newlines in commit author and committer
Summary: The commit author field is stored in a newline-separated field in both Mercurial and Git data formats. This means it is disallowed to appear in either of these. Currently we don't enforce that in Mononoke, which means we can have bonsai changesets that are not representable in Mercurial or Git. Disallow newlines in well-formed bonsai changesets also. This will prevent this situation from occurring. Differential Revision: D51807680 fbshipit-source-id: b66807a6a22a0ed5ada971206afd9deb3f29088d
- Loading branch information
1 parent
20e37a9
commit 431c4c5
Showing
1 changed file
with
56 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters