path: root/cache-tree.c
diff options
authorNguyễn Thái Ngọc Duy <>2018-12-06 15:42:06 (GMT)
committerJunio C Hamano <>2018-12-09 03:37:32 (GMT)
commitec36c42a6301eca8a1a038001435bc8a7940e886 (patch)
treea7f58daf2eaa79e64fea2426160c5799187b4c89 /cache-tree.c
parent965798d1f2992a4bdadb81eba195a7d465b6454a (diff)
Indent code with TABs
We indent with TABs and sometimes for fine alignment, TABs followed by spaces, but never all spaces (unless the indentation is less than 8 columns). Indenting with spaces slips through in some places. Fix them. Imported code and compat/ are left alone on purpose. The former should remain as close as upstream as possible. The latter pretty much has separate maintainers, it's up to them to decide. Signed-off-by: Nguyễn Thái Ngọc Duy <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'cache-tree.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/cache-tree.c b/cache-tree.c
index 9d454d2..d6dbbeb 100644
--- a/cache-tree.c
+++ b/cache-tree.c
@@ -448,7 +448,7 @@ int cache_tree_update(struct index_state *istate, int flags)
static void write_one(struct strbuf *buffer, struct cache_tree *it,
- const char *path, int pathlen)
+ const char *path, int pathlen)
int i;