git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Noman <necrospre@gmail.com>
To: git@vger.kernel.org
Cc: karthik nayak <karthik.188@gmail.com>,
	jltobler@gmail.com,
	 Siddharth Shrimali <r.siddharth.shrimali@gmail.com>,
	simran@kalvium.community
Subject: [GSoC][PATCH v2] repo: use repository parameter in get_layout_bare()
Date: Sun, 29 Mar 2026 11:15:59 +0530	[thread overview]
Message-ID: <CA+TqWtVvEyJA0QzsGh1igiRdwufopfpvA-+=_nCOWFHNk25uEw@mail.gmail.com> (raw)

Hello Siddharth and the Git community,

Thank you for the feedback on my previous documentation patch. I
understand now that 'fileX' and 'fileY' were intended as specific
identifiers in the examples rather than typographical errors. I have
withdrawn that patch.

As a more technical micro-project, I have refactored get_layout_bare()
and get_layout_shallow() in builtin/repo.c to explicitly use the
passed repo pointer instead of relying on global macros like
is_bare_repository().

This change supports the long-term goal of reducing Git's dependency
on the the_repository global variable and making the git repo command
compatible with multi-repository environments.

My patch is available for review here:

I have also uploaded my full project proposal, "Enhancing the git repo
Command for Machine-Readable Metadata," to the GSoC portal.

Best regards, Naorem Ngathoiba Singh


                 reply	other threads:[~2026-03-29  5:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+TqWtVvEyJA0QzsGh1igiRdwufopfpvA-+=_nCOWFHNk25uEw@mail.gmail.com' \
    --to=necrospre@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=jltobler@gmail.com \
    --cc=karthik.188@gmail.com \
    --cc=r.siddharth.shrimali@gmail.com \
    --cc=simran@kalvium.community \
    /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.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).