-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add providing location for fetch_via_{vcs,git}
This allows to call fetch_via_{vcs,git} multiple times for a location to have another revision. Example: fetch_via_git("git+https://github.com/nexB/fetchcode.git", location="/tmp/repo") will checkout tip of default branch fetch_via_git("git+https://github.com/nexB/fetchcode.git@ccb7b6199681910ccf047f1a18aa89ece45d665c", location="/home/amazuruk/dupa/master") will reset to ccb7b61 Additionally remove some trailing whitespaces and fix indentation of a docstring. Signed-off-by: Alexander Mazuruk <[email protected]>
- Loading branch information
1 parent
42110e9
commit b5d6614
Showing
3 changed files
with
25 additions
and
17 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