Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: git/git
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 7d00521d7be21ca4a3713b2fa367eb7296212e09
Choose a base ref
...
head repository: git/git
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: c2e3713334aa822683f046bbad7905ec8510d38b
Choose a head ref
  • 3 commits
  • 11 files changed
  • 2 contributors

Commits on Aug 21, 2025

  1. Merge branch 'lo/repo-info' into lo/repo-info-step-2

    * lo/repo-info:
      repo: add the --format flag
      repo: add the field layout.shallow
      repo: add the field layout.bare
      repo: add the field references.format
      repo: declare the repo command
    gitster committed Aug 21, 2025
    Configuration menu
    Copy the full SHA
    c8f660a View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2025

  1. repo: add the flag -z as an alias for --format=nul

    Other Git commands that have nul-terminated output (e.g. git-config,
    git-status, git-ls-files) have a flag `-z` for using the null character
    as the record separator.
    
    Add the `-z` flag to git-repo-info as an alias for `--format=nul`,
    making it consistent with the behavior of the other commands.
    
    Mentored-by: Karthik Nayak <[email protected]>
    Mentored-by: Patrick Steinhardt <[email protected]>
    Signed-off-by: Lucas Seiki Oshiro <[email protected]>
    Signed-off-by: Junio C Hamano <[email protected]>
    lucasoshiro authored and gitster committed Sep 4, 2025
    Configuration menu
    Copy the full SHA
    a92f5ca View commit details
    Browse the repository at this point in the history
  2. repo: add the field objects.format

    The flag `--show-object-format` from git-rev-parse is used for
    retrieving the object storage format. This way, it is used for
    querying repository metadata, fitting in the purpose of git-repo-info.
    
    Add a new field `objects.format` to the git-repo-info subcommand
    containing that information.
    
    Mentored-by: Karthik Nayak <[email protected]>
    Mentored-by: Patrick Steinhardt <[email protected]>
    Signed-off-by: Lucas Seiki Oshiro <[email protected]>
    Signed-off-by: Junio C Hamano <[email protected]>
    lucasoshiro authored and gitster committed Sep 4, 2025
    Configuration menu
    Copy the full SHA
    c2e3713 View commit details
    Browse the repository at this point in the history
Loading