init-db.c cleanup, add INDEX_FILE_DIRECTORY support
Get series with b4
b4 am mailbox-23311-1113901779-711084@spoonVersions newest first
- v1 Latest8 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | init-db.c: [RESEND] remove redundant getenv callinit-db.c | +1 | 0 replies | |
| 2/8 | init-db.c: [RESEND] make init-db work with common objectsinit-db.c | +1 | 0 replies | |
| 3/8 | init-db.c: refactor directory creationinit-db.c | +32 | 0 replies | |
| 4/8 | init-db.c: add INDEX_FILE_DIRECTORY supportcache.h init-db.c | +4 | 0 replies | |
| 5/8 | init-db.c: refactor mkdir logicinit-db.c | +12 | 1 reply | |
| 6/8 | read-cache.c: add INDEX_FILE_DIRECTORY supportread-cache.c | +13 | 0 replies | |
| 7/8 | read-tree.c: add INDEX_FILE_DIRECTORY supportread-tree.c | +25 | 0 replies | |
| 8/8 | update-cache.c: add INDEX_FILE_DIRECTORY supportupdate-cache.c | +24 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/8] init-db.c cleanup, add INDEX_FILE_DIRECTORY support
Hi all,
I'm working on an OO perl alternative to Petr's git scripts, which I'm currently calling "yogi" (your other git interface). While I'm not ready to release that just yet, I wanted to start floating some patches to the core plumbing to support the respective packages' potentially divergent demands. For those die-hard perl hackers, I can float you a copy of the package off-list if you're interested; I'm hoping to finish a public 0.0.1 release by the end of the week.
The first two patches in the series are already in the pasky.git repository, but Linus hasn't merged them yet. The are included only because the next few patches expect them to be in place.
The third patch in the series prepares for the forth patch by factoring the object directory detection and creation functionality. The fifth patch makes one final pass at cleaning up init-db. The 3rd and 5th patches aren't particularly valuable unless the remaining patches are also applied, but they do make the code a bit prettier. To me, at least.
The remaining patches (4,6,7,8) add the ability for the '.git' index directory to be overridden in the same manner as the object directory. This allows me to create my own independent '.yogi' trees, the very notion of which may cause this whole series to be henceforth flamed into oblivion.
Here's to hoping otherwise....
Cheers,
Zach Welch
Superlucidity Services
These patches are based off commit 5b53d3a08d64198d26d4f2323f235790c04aeaab.
There are 8 patches in this series:
[PATCH 1/8] init-db.c: [RESEND] remove redundant getenv call [PATCH 2/8] init-db.c: [RESEND] make init-db work with common objects [PATCH 3/8] init-db.c: refactor directory creation
[PATCH 4/8] init-db.c: add INDEX_FILE_DIRECTORY support [PATCH 5/8] init-db.c: refactor mkdir logic
[PATCH 6/8] read-cache.c: add INDEX_FILE_DIRECTORY support [PATCH 7/8] read-tree.c: add INDEX_FILE_DIRECTORY support [PATCH 8/8] update-cache.c: add INDEX_FILE_DIRECTORY support