]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'jk/repo-info-path-keys' into jch
authorJunio C Hamano <gitster@pobox.com>
Fri, 26 Jun 2026 02:49:20 +0000 (19:49 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 26 Jun 2026 02:49:21 +0000 (19:49 -0700)
commit8fa129e8377ccf50843fd314f4e1fe32ea54c49d
tree8d7723e693488f98d6618d2517c5ab044f73e3ec
parent07b6d455169f1513860d35b8444ffc1f17c41476
parent3ac28d832aefe06e0fb9390d3e20a9c32350e052
Merge branch 'jk/repo-info-path-keys' into jch

The "git repo info" command has been taught new keys to output both
absolute and relative paths for "gitdir" and "commondir", supported by
a new path-formatting helper extracted from "git rev-parse".

* jk/repo-info-path-keys:
  repo: add path.gitdir with absolute and relative suffix formatting
  repo: add path.commondir with absolute and relative suffix formatting
  path: extract format_path() and use in rev-parse
builtin/repo.c
builtin/rev-parse.c
path.h