From: K Jayatheerth <jayatheerthkulkarni2005@gmail.com>
To: gitgitgadget@gmail.com
Cc: git@vger.kernel.org, mansimaanu8627@gmail.com
Subject: Re: [PATCH] t1900: add tests for git repo structure subcommand
Date: Tue, 10 Mar 2026 19:04:35 +0530 [thread overview]
Message-ID: <20260310133435.42995-1-jayatheerthkulkarni2005@gmail.com> (raw)
In-Reply-To: <pull.2066.git.1773112159662.gitgitgadget@gmail.com>
> From: Mansi Singh <mansimaanu8627@gmail.com>
>
> The t1900 test file covers git repo info thoroughly but has
> no tests for the git repo structure subcommand. Add basic
> tests to verify that:
>
> - git repo structure succeeds and produces no stderr output
> - git repo structure --format=keyvalue outputs expected keys
> - git repo structure --format=nul succeeds
> - git repo structure rejects an unknown format
>
> Signed-off-by: Mansi Singh <mansimaanu8627@gmail.com>
> ---
> t1900: add tests for git repo structure subcommand
>
> Add tests for the git repo structure subcommand in t1900-repo-info.sh.
> The tests verify that git repo structure outputs the expected fields
> (commits, trees, blobs, tags) in both default and key-value formats.
>
> Signed-off-by: Mansi Singh mansimaanu8627@gmail.com
>
> Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-2066%2FMansiSingh17%2Frepo-add-structure-tests-v3-v1
> Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-2066/MansiSingh17/repo-add-structure-tests-v3-v1
> Pull-Request: https://github.com/gitgitgadget/git/pull/2066
>
> t/t1900-repo-info.sh | 22 ++++++++++++++++++++++
> 1 file changed, 22 insertions(+)
>
Hi,
The very next file in t/
i.e t1901.. is about repo structure
You might wanna check that out
because I find most of these to be redundant
Regards
- Jayatheerth
prev parent reply other threads:[~2026-03-10 13:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-10 3:09 [PATCH] t1900: add tests for git repo structure subcommand Mansi Singh via GitGitGadget
2026-03-10 3:35 ` Junio C Hamano
2026-03-10 13:34 ` K Jayatheerth [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260310133435.42995-1-jayatheerthkulkarni2005@gmail.com \
--to=jayatheerthkulkarni2005@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitgitgadget@gmail.com \
--cc=mansimaanu8627@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.