-
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.
git: fix a histedit edge case on git mode
Summary: The signature of `gitcommittext` is a bit wrong, as the `date` parameter can actually receive a tuple of numbers, and not only a string. On top of that, `git_commit_fields_to_text` does not know how to process floats because the tuple gets serialized into an `HgTime` on the Rust side: ``` pub struct HgTime { pub unixtime: i64, pub offset: i32, } ``` Reviewed By: muirdm Differential Revision: D67353905 fbshipit-source-id: a563ccaea81cc6533a10b359a5bd067fe724887c
- Loading branch information
1 parent
bb6307b
commit 2030e47
Showing
2 changed files
with
10 additions
and
15 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
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