]> git.ipfire.org Git - thirdparty/git.git/commitdiff
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)
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

1  2 
builtin/repo.c
builtin/rev-parse.c
path.h

diff --cc builtin/repo.c
Simple merge
Simple merge
diff --cc path.h
Simple merge