diff options
| author | Carlos Martín Nieto <carlos@cmartin.tk> | 2011-08-03 22:03:57 +0200 |
|---|---|---|
| committer | Vicent Marti <tanoku@gmail.com> | 2011-08-18 02:34:08 +0200 |
| commit | 44daec422950e0227a863021b6bf4fb8554b6c9c (patch) | |
| tree | a5d4fd1811200714072b6c63a83df5a5b7a26afd /src/repository.c | |
| parent | da2902204b12e4ba2ad218590f0826a8b8c1badc (diff) | |
| download | libgit2-44daec422950e0227a863021b6bf4fb8554b6c9c.tar.gz | |
Bind the configuration and remotes to a repository
Configurations when taken from a repository and remotes should be
identifiable as coming from a particular repository. This allows us to
reduce the amount of variables that the user has to keep track of.
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Diffstat (limited to 'src/repository.c')
| -rw-r--r-- | src/repository.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/repository.c b/src/repository.c index cb62d9eb6..c0e99bb24 100644 --- a/src/repository.c +++ b/src/repository.c @@ -317,6 +317,7 @@ int git_repository_config( goto cleanup; } + (*out)->repo = repo; return GIT_SUCCESS; cleanup: |
