git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* A Question from a Hopeful Future Contributor
@ 2025-07-18 22:26 Eric Frederickson
  2025-07-18 23:15 ` Junio C Hamano
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Eric Frederickson @ 2025-07-18 22:26 UTC (permalink / raw)
  To: git; +Cc: Junio C Hamano

Hello everyone,

I hope that this message finds you well! I'm a software developer and passionate
git user, and I'd like to try my hand at contributing to the project. I'm
sending this message in order to ask Junio and the team if there's anything that
would be particularly useful / appropriate for me to start looking into on that
front. (Reading through the last few "What's cooking" messages, I didn't see
anything that jumped out at me as needing a new contributor, which is why I'm
asking in a separate message instead of replying to one of those.)

(Some notes on my skills: working on docs or tests is always a favorite for me,
so things in those areas would be a great time. Also comfortable with low-level
code, and any kind of scripting. Note too that academic background centers
around programming language design and parsing related stuff, so I've got some
fluency in those areas that I could hopefully apply well to the project if ever
needed.)

Looking through the repo for a place to find todo items, I naturally stumbled
upon the TODO file in the origin/todo branch, and saw an item in there which
seemed like it could be a good place to start:

> * "git status" on intent-to-add index entries (say "I" in the first
>   column instead of "A" for short status, add "(needs 'git add')" at the
>   end of "new file: $path " in long status).

I am interpreting this todo message as meaning that the following behavior
should be implemented:

Given the initial conditions created by the following setup commands:

---
mkdir EXAMPLE
cd EXAMPLE

git init

touch a.txt b.txt c.txt

git add a.txt
git add --intent-to-add b.txt

# Leave c.txt untracked so that it shows up for reference in the git-status
# outputs below.
---

The goal of the todo item is to have the short git-status message change from
this:

---
A  a.txt
 A b.txt
?? c.txt
---

to this:

---
A  a.txt
 I b.txt
?? c.txt
---

and to have the long git-status message change from this:

---
On branch master

No commits yet

Changes to be committed:
  (use "git rm --cached <file>..." to unstage)
	new file:   a.txt

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	new file:   b.txt

Untracked files:
  (use "git add <file>..." to include in what will be committed)
	c.txt
---

to this:

---
On branch master

No commits yet

Changes to be committed:
  (use "git rm --cached <file>..." to unstage)
	new file:   a.txt

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	new file:   b.txt (needs 'git add')

Untracked files:
  (use "git add <file>..." to include in what will be committed)
	c.txt
---

Let me know if this would be a good change to pursue. Also open to trying
anything else that's needed!

Thank you for your time,
--
Eric Frederickson
ericfrederickson68@gmail.com
https://emfred.com

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2025-07-28 16:54 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-18 22:26 A Question from a Hopeful Future Contributor Eric Frederickson
2025-07-18 23:15 ` Junio C Hamano
2025-07-19 19:57   ` Eric Frederickson
2025-07-26 14:21   ` D. Ben Knoble
2025-07-28 15:02     ` Junio C Hamano
2025-07-28 16:54       ` D. Ben Knoble
2025-07-18 23:31 ` Ayush Chandekar
2025-07-19 22:06 ` Lucas Seiki Oshiro
2025-07-20  1:02   ` Eric Frederickson
2025-07-19 22:16 ` brian m. carlson
2025-07-20  1:22   ` Eric Frederickson

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 NNTP newsgroup(s).