Thread (9 messages) flat view 9 messages, 2 authors, 2016-06-15

Re: [PATCH 1/5] cache.h: remove surrounding brackes and realign CE_* constants

From: Thiago Farina <hidden>
Date: 2016-06-15 22:50:07

2010/11/26 Nguyễn Thái Ngọc Duy [off-list ref]:
quoted hunk ↗ jump to hunk
Signed-off-by: Nguyễn Thái Ngọc Duy <redacted>
---
 cache.h |   25 ++++++++++++-------------
 1 files changed, 12 insertions(+), 13 deletions(-)
diff --git a/cache.h b/cache.h
index 33decd9..4819cf5 100644
--- a/cache.h
+++ b/cache.h
@@ -170,26 +170,25 @@ struct cache_entry {
 *
 * In-memory only flags
 */
-#define CE_UPDATE    (0x10000)
-#define CE_REMOVE    (0x20000)
-#define CE_UPTODATE  (0x40000)
-#define CE_ADDED     (0x80000)
+#define CE_UPDATE              0x10000
+#define CE_REMOVE              0x20000
+#define CE_UPTODATE            0x40000
+#define CE_ADDED               0x80000
Thanks for fixing this. Maybe these hex can be rewriting as 1 << 0, 1
<< 1 and so on?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help