mirror of
https://we.phorge.it/source/arcanist.git
synced 2025-01-21 04:01:29 +01:00
1f69ab5fdb
Summary: If any hunks is detected as non-utf8, and you've never submitted diffs for a certain project before, you would get a ERR-BAD-ARCANIST-PROJECT exception. This makes it possible to submit the patch properly, so you can set the encoding in the interface afterwards. Further this fixes cases where you don't supply a diff but will result in hunks getting treated as binary, but that still beats the exception behaviour. Test Plan: Ran `arc diff` with and without the new --encoding param and got the expected results. Also ensured the diff (with non utf-8 hunks) would be properly created even when no encoding is specified. Reviewers: epriestley Reviewed By: epriestley CC: aran, epriestley Differential Revision: 1135 |
||
---|---|---|
.. | ||
amend | ||
base | ||
branch | ||
call-conduit | ||
commit | ||
cover | ||
diff | ||
download | ||
exception/notsupported | ||
export | ||
git-hook-pre-receive | ||
help | ||
install-certificate | ||
liberate | ||
lint | ||
list | ||
mark-committed | ||
merge | ||
paste | ||
patch | ||
shell-complete | ||
svn-hook-pre-commit | ||
unit | ||
upload |