summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAriel Davis <ariel.z.davis@icloud.com>2017-06-16 23:19:31 -0400
committerAriel Davis <ariel.z.davis@icloud.com>2017-06-19 08:38:21 -0400
commitaf720bb659ef6a89faa17bd04b40546853e7a468 (patch)
tree123e40c92a8724c0b6661486ce9da106a07004b6 /src
parent9a46c77739e9add922fca8f7798786a6bd2893e8 (diff)
downloadlibgit2-af720bb659ef6a89faa17bd04b40546853e7a468.tar.gz
repository: remove trailing whitespace
Diffstat (limited to 'src')
-rw-r--r--src/repository.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/repository.c b/src/repository.c
index 197ce6ac0..71f77bab9 100644
--- a/src/repository.c
+++ b/src/repository.c
@@ -1235,7 +1235,7 @@ static int reserved_names_add8dot3(git_repository *repo, const char *path)
name_len = strlen(name);
- if ((name_len == def_len && memcmp(name, def, def_len) == 0) ||
+ if ((name_len == def_len && memcmp(name, def, def_len) == 0) ||
(name_len == def_dot_git_len && memcmp(name, def_dot_git, def_dot_git_len) == 0)) {
git__free(name);
return 0;
@@ -2768,7 +2768,7 @@ int git_repository__cleanup_files(
error = git_futils_rmdir_r(path, NULL,
GIT_RMDIR_REMOVE_FILES | GIT_RMDIR_REMOVE_BLOCKERS);
}
-
+
git_buf_clear(&buf);
}