forked from gitster/git
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
streaming: add repository argument to open_istream_fn
Add a repository argument to allow the callers of open_istream_fn to be more specific about which repository to act on. This is a small mechanical change; it doesn't change the implementation to handle repositories other than the_repository yet. Unlike the previous commits, this uses a run time check to make sure the passed repository is the_repository instead of a compile time check. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Stefan Beller <sbeller@google.com>
- Loading branch information
1 parent
eb5f134
commit 3dd5500
Showing
1 changed file
with
16 additions
and
4 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