summaryrefslogtreecommitdiff
path: root/src/repository.c
diff options
context:
space:
mode:
authorKirill A. Shutemov <kirill@shutemov.name>2011-06-30 19:52:34 +0300
committerVicent Marti <tanoku@gmail.com>2011-07-01 18:02:56 +0200
commit932d1baf294aaacfd5a99e7758a3c08d8ffc22ab (patch)
treee6714d92345ed9a916d8cd771ab1588333d41998 /src/repository.c
parent1f4f4d17046e43ca24da9621323d921ae0d0f5dd (diff)
downloadlibgit2-932d1baf294aaacfd5a99e7758a3c08d8ffc22ab.tar.gz
cleanup: remove trailing spaces
Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Diffstat (limited to 'src/repository.c')
-rw-r--r--src/repository.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/repository.c b/src/repository.c
index e0927c077..8ebfd6745 100644
--- a/src/repository.c
+++ b/src/repository.c
@@ -118,7 +118,7 @@ static int assign_repository_dirs(
if (repo->path_index == NULL)
return GIT_ENOMEM;
}
-
+
return GIT_SUCCESS;
}
@@ -207,8 +207,8 @@ int git_repository_open3(git_repository **repo_out,
if (repo == NULL)
return GIT_ENOMEM;
- error = assign_repository_dirs(repo,
- git_dir,
+ error = assign_repository_dirs(repo,
+ git_dir,
NULL,
git_index_file,
git_work_tree);
@@ -247,7 +247,7 @@ int git_repository_open2(git_repository **repo_out,
return GIT_ENOMEM;
error = assign_repository_dirs(repo,
- git_dir,
+ git_dir,
git_object_directory,
git_index_file,
git_work_tree);
@@ -711,7 +711,7 @@ int git_repository_init(git_repository **repo_out, const char *path, unsigned is
int error = GIT_SUCCESS;
git_repository *repo = NULL;
repo_init results;
-
+
assert(repo_out && path);
results.path_repository = NULL;