nd/the-index-final small update
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest11 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | grep: use grep_opt->repo instead of explict repo argumentbuiltin/ | +24 | 0 replies | |
| 2/11 | notes-utils.c: remove the_repository referencesbuiltin/ builtin/ builtin/ +5 more | +41 | 0 replies | |
| 3/11 | repository.c: replace hold_locked_index() with repo_hold_locked_index()apply.c cache.h merge-recursive.c +7 more | +26 | 0 replies | |
| 4/11 | checkout: avoid the_index when possiblebuiltin/ | +1 | 0 replies | |
| 5/11 | read-cache.c: kill read_index()apply.c blame.c builtin/ +13 more | +49 | 0 replies | |
| 6/11 | read-cache.c: replace update_index_if_able with repo_&builtin/ builtin/ builtin/ +5 more | +20 | 0 replies | |
| 7/11 | sha1-name.c: remove implicit dependency on the_indexbuiltin/ builtin/ builtin/ +5 more | +50 | 0 replies | |
| 8/11 | merge-recursive.c: remove implicit dependency on the_indexbuiltin/ builtin/ builtin/ +4 more | +91 | 0 replies | |
| 9/11 | merge-recursive.c: remove implicit dependency on the_repositorymerge-recursive.c | +24 | 0 replies | |
| 10/11 | read-cache.c: remove the_* from index_has_changes()builtin/ cache.h merge-recursive.c +1 more | +12 | 0 replies | |
| 11/11 | cache.h: flip NO_THE_INDEX_COMPATIBILITY_MACROS switchattr.c builtin/ builtin/ +52 more | +58 | 0 replies |
Reviews trailers per patch
1 of 11 patches has a Reviewed-by or Acked-by.
| Patch | Stefan Beller |
|---|---|
| 1/11 | R-b |
| 2/11 | |
| 3/11 | |
| 4/11 | |
| 5/11 | |
| 6/11 | |
| 7/11 | |
| 8/11 | |
| 9/11 | |
| 10/11 | |
| 11/11 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/11] nd/the-index-final small update
This was noticed by Ramsay [1] and I almost forgot.
[1] http://public-inbox.org/git/[email protected]
Range-diff:
1: 4478671442 ! 1: 971d2839ab cache.h: flip NO_THE_INDEX_COMPATIBILITY_MACROS switch
@@ -2,12 +2,11 @@
cache.h: flip NO_THE_INDEX_COMPATIBILITY_MACROS switch
- >From now on, by default index compat macros are off because they could
+ From now on, by default index compat macros are off because they could
hide the_index dependency. Only those in builtin can use it (and even
so should be avoided if possible).
Signed-off-by: Nguyễn Thái Ngọc Duy <[email protected]>
- Signed-off-by: Junio C Hamano <[email protected]>
diff --git a/attr.c b/attr.c
--- a/attr.c
@@ -590,6 +589,15 @@
diff --git a/repository.c b/repository.c
--- a/repository.c
+++ b/repository.c
+@@
++/*
++ * not really _using_ the compat macros, just make sure the_index
++ * declaration matches the definition in this file.
++ */
++#define USE_THE_INDEX_COMPATIBILITY_MACROS
+ #include "cache.h"
+ #include "repository.h"
+ #include "object-store.h"
@@
/* The main repository */
static struct repository the_repo;Signature · 1 line
2.20.1.560.g70ca8b83ee