]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'jk/repo-info-path-keys' into jch
authorJunio C Hamano <gitster@pobox.com>
Wed, 24 Jun 2026 20:21:11 +0000 (13:21 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 24 Jun 2026 20:21:11 +0000 (13:21 -0700)
commitecc8ef8fe5af65a63816add3a09c9e08674deb9d
treead73e7e96698c1522d36819309cfff033b0b91dd
parent0d66f8764bd61cad82ebeea81157079e33ba83a4
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