-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update git-model to match dugite-no-gpl
Upstream dugite has changed its GitError enum [1], which became part of `dugite-no-gpl` after its uplift. @theia/git has it own GitError enum [2], that I believe needs to be aligned with `dugite's`. This commit atttempts to align our version of that enum. After this update, the @theia/git unit tests now pass. [1] https://github.com/theia-ide/dugite/blob/main/lib/errors.ts#L2-L63 starting at index 16 a new item was inserted, offsetting from that point. New entries were also added towards the end, offsetting the GitHub errors. finally new entries were added after the GitHub section. [2] https://github.com/eclipse-theia/theia/blob/86fe42854196b1c3cea90b95840acae3e0f00061/packages/git/src/common/git-model.ts#L421-L467 Signed-off-by: Marc Dumais <marc.dumais@ericsson.com>
- Loading branch information
1 parent
c69b77a
commit d109bc9
Showing
2 changed files
with
43 additions
and
35 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