-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't use
obtain-work
as a checkout mechanism in start-work
Since release 0.5.0, `obtain-work` works only with remote braches. But we try to use it as a checkout mechanism for a local branch in `start-work` which breaks its execution. In order to resolve this issue, the following is made: 1. The checkout procedure of `start-work` is replaced with alternative `git` commands. 2. Now the `addons-fake.bash` supports redirection of incomming request to original command if there is no mocked command. This allows having partially-mocked executions for testing (previously, either usage of real git or faked command was allowed). Also, one additional rule is added to the "Writing tests" section. It was added as faking a `git-elegant` commands lead to such issues. In the future, any newly-created or updated test(s) should follow it.
- Loading branch information
Showing
5 changed files
with
49 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
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
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