repo info: add path.git-dir and path.common-dir
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | repo: add the field path.git-dirbuiltin/ | +16 | 0 replies | |
| 2/2 | repo: add the field path.common-dirbuiltin/ | +16 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] repo info: add path.git-dir and path.common-dir
Hi,
Following the earlier RFC discussion about exposing repository paths via git repo info, this series adds two new fields:
- path.git-dir
- path.common-dir
These mirror the information available through git rev-parse --git-dir and git rev-parse --common-dir, respectively.
This series builds on the recent path-related changes to git repo info (including path.toplevel and the --path-format flag), which are currently under review.
Both fields respect the --path-format semantics introduced there.
Pushkar Singh (2):
repo: add the field path.git-dir
repo: add the field path.common-dir
builtin/repo.c | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+)
base-commit: 625c4fb2daac9879b299dd1cae2e793d2821dec0
prerequisite-patch-id: a15d35d8ce98f550953b8d2b5766b945ae73013e
prerequisite-patch-id: c3311a175dacc8d31ac8143f6deb36a1a46bd960
prerequisite-patch-id: e2348c7f5cdad006aeb10ddda81a184859941c8c
prerequisite-patch-id: 54003bdf23d570ce671626496a6622319a4ee2c8
Signature · 1 line
2.43.0