aboutsummaryrefslogtreecommitdiffstats
path: root/ui-blob.c
diff options
context:
space:
mode:
authorChristian Hesse2014-04-17 11:55:46 +0200
committerJason A. Donenfeld2014-04-17 12:55:09 +0200
commitb431282c91deea24916578395d88084261410968 (patch)
treedf28474b0af6dc9c3a7a4f768b1ab18871d0083a /ui-blob.c
parentdcb16f0d11305b4d7cb6357c5c0e21ad67f69871 (diff)
downloadcgit-b431282c91deea24916578395d88084261410968.tar.gz
cgit-b431282c91deea24916578395d88084261410968.tar.bz2
cgit-b431282c91deea24916578395d88084261410968.zip
remove trailing whitespaces from source files
Diffstat (limited to 'ui-blob.c')
-rw-r--r--ui-blob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-blob.c b/ui-blob.c
index 9c99519..c2de8d6 100644
--- a/ui-blob.c
+++ b/ui-blob.c
@@ -54,7 +54,7 @@ int cgit_ref_path_exists(const char *path, const char *ref, int file_only)
54 54
55 if (get_sha1(ref, sha1)) 55 if (get_sha1(ref, sha1))
56 return 0; 56 return 0;
57 if (sha1_object_info(sha1, &size) != OBJ_COMMIT) 57 if (sha1_object_info(sha1, &size) != OBJ_COMMIT)
58 return 0; 58 return 0;
59 read_tree_recursive(lookup_commit_reference(sha1)->tree, "", 0, 0, &paths, walk_tree, &walk_tree_ctx); 59 read_tree_recursive(lookup_commit_reference(sha1)->tree, "", 0, 0, &paths, walk_tree, &walk_tree_ctx);
60 return walk_tree_ctx.found_path; 60 return walk_tree_ctx.found_path;