forked from usnistgov/corr-sumatra
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
finding git content directly by hash
The GitWorkingCopy.content method was iterating over all commits of the master branch before to find the commit with the specified hash. When the commit was not on the master branch, that would fail. Instead, it is not iterated over a branch anymore, but the commit is directly accessed through GitPython.
- Loading branch information
1 parent
29ac837
commit 0758a78
Showing
1 changed file
with
15 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