Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2013-05-13 23:57:37 +0400
committernulltoken <emeric.fermas@gmail.com>2013-05-16 00:41:30 +0400
commit1fed6b07f0722c8b4349ff3709a49df3d3c9ae61 (patch)
tree2c1b791be59a061bebab3392575a0b90dc323b23 /src/refdb_fs.c
parentf0ab73720a4e7a9b37c901a27519ea65eafeb8a6 (diff)
Fix trailing whitespaces
Diffstat (limited to 'src/refdb_fs.c')
-rw-r--r--src/refdb_fs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/refdb_fs.c b/src/refdb_fs.c
index b9df83f81..f964c4182 100644
--- a/src/refdb_fs.c
+++ b/src/refdb_fs.c
@@ -217,7 +217,7 @@ static int packed_load(refdb_fs_backend *backend)
backend->peeling_mode = PEELING_NONE;
if (buffer_start[0] == '#') {
- static const char *traits_header = "# pack-refs with: ";
+ static const char *traits_header = "# pack-refs with: ";
if (git__prefixcmp(buffer_start, traits_header) == 0) {
char *traits = (char *)buffer_start + strlen(traits_header);
@@ -1060,7 +1060,7 @@ static void refdb_fs_backend__free(git_refdb_backend *_backend)
static int setup_namespace(git_buf *path, git_repository *repo)
{
- char *parts, *start, *end;
+ char *parts, *start, *end;
/* Not all repositories have a path */
if (repo->path_repository == NULL)
@@ -1091,7 +1091,7 @@ static int setup_namespace(git_buf *path, git_repository *repo)
free(parts);
/* Make sure that the folder with the namespace exists */
- if (git_futils_mkdir_r(git_buf_cstr(path), repo->path_repository, 0777) < 0)
+ if (git_futils_mkdir_r(git_buf_cstr(path), repo->path_repository, 0777) < 0)
return -1;
/* Return the root of the namespaced path, i.e. without the trailing '/refs' */