diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2012-06-13 23:28:51 +0100 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2012-06-13 23:28:51 +0100 |
commit | a21bb1aa33e9887c06852db62526895df6091736 (patch) | |
tree | 6e05069971f04fb91f36d91818f78a62de93c1b1 /examples/diff.c | |
parent | 96ef3d84629ef72fb662d95abbab3de634921678 (diff) | |
parent | 86ea6ceda75274621b7d5c3023c5b04da3ab677e (diff) | |
download | libgit2-a21bb1aa33e9887c06852db62526895df6091736.tar.gz |
Merge remote-tracking branch 'source/development' into development
Diffstat (limited to 'examples/diff.c')
-rw-r--r-- | examples/diff.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/diff.c b/examples/diff.c index 1b4ab549b..b72a75e1c 100644 --- a/examples/diff.c +++ b/examples/diff.c @@ -185,9 +185,7 @@ int main(int argc, char *argv[]) /* open repo */ - check(git_repository_discover(path, sizeof(path), dir, 0, "/"), - "Could not discover repository"); - check(git_repository_open(&repo, path), + check(git_repository_open_ext(&repo, dir, 0, NULL), "Could not open repository"); if (treeish1) |