Commit 422a2f5034e930520163ae63969390924d9b0e21

Stefan Sperling 2018-03-09T21:44:46

file index path padding is only needed on disk

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/lib/got_file_index_priv.h b/lib/got_file_index_priv.h
index 84aa5d3..a43599e 100644
--- a/lib/got_file_index_priv.h
+++ b/lib/got_file_index_priv.h
@@ -49,7 +49,7 @@ struct got_file_index_entry {
 
 	/*
 	 * UNIX-style path, relative to work tree root.
-	 * Variable length and NUL-padded to a multiple of 8.
+	 * Variable length, and NUL-padded to a multiple of 8 on disk.
 	 */
 	const char *path;
 };