File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1526,11 +1526,7 @@ struct ref_store *get_main_ref_store(void)
1526
1526
if (main_ref_store )
1527
1527
return main_ref_store ;
1528
1528
1529
- main_ref_store = ref_store_init (get_git_dir (),
1530
- (REF_STORE_READ |
1531
- REF_STORE_WRITE |
1532
- REF_STORE_ODB |
1533
- REF_STORE_MAIN ));
1529
+ main_ref_store = ref_store_init (get_git_dir (), REF_STORE_ALL_CAPS );
1534
1530
return main_ref_store ;
1535
1531
}
1536
1532
Original file line number Diff line number Diff line change @@ -467,6 +467,10 @@ struct ref_store;
467
467
#define REF_STORE_WRITE (1 << 1) /* can perform update operations */
468
468
#define REF_STORE_ODB (1 << 2) /* has access to object database */
469
469
#define REF_STORE_MAIN (1 << 3)
470
+ #define REF_STORE_ALL_CAPS (REF_STORE_READ | \
471
+ REF_STORE_WRITE | \
472
+ REF_STORE_ODB | \
473
+ REF_STORE_MAIN)
470
474
471
475
/*
472
476
* Initialize the ref_store for the specified gitdir. These functions
You can’t perform that action at this time.
0 commit comments