Skip to contentSkip to conversation

Missing: Consistency of clean state output of "git add -i"

DISCUSSION Kaartic Sivaraam 2 participants 4 messages May 28, 2017

lore
Share & tools
lore
#0 lore raw

Hello all,
When the "git add -i" command is triggered with a clean working directory and index, the outputs of the various options don't seem to be giving consistent results. A few of the distinct outputs are,

1. No output, the options are displayed
2. A single blank line and the options are displayed
3. The "add untracked" option, prints "No untracked files." and adds a empty line and prints the options
4. The "patch" option, prints "No changes" and prints the options

It seems that the clean state output should be improved for the sake of a consistent user interface.

Note: I could possibly help if I were pointed to the implementation.

Quote: "We hate most in others that which we fail to see in ourselves."
- Anil Dash
--
Regards,
Kaartic

#1 lore raw

I guess I'll take back my note in the previous email that says, I could help. I saw the implementation and found that I couldn't help as I don't have experience with PERL. My bad.

#2 lore raw

From: "Kaartic Sivaraam" <[email protected]>

Quoted 3 lines

I guess I'll take back my note in the previous email that says, I could help. I saw the implementation and found that I couldn't help as I don't have experience with PERL. My bad.

I wouldn't let that stop you. We were all ignorant once.
I know little of tcl (gitk/git-gui), but I've still managed to fix a couple of issues, with the help of others on the list (and the search engines and their results;-)

Perl is *that* hard, is it?

regards
Philip

#3 lore raw
Quoted 7 lines · Philip Oakley

I wouldn't let that stop you. We were all ignorant once. I know little of tcl (gitk/git-gui), but I've still managed to fix a couple
of issues, with the help of others on the list (and the search engines and
their results;-)

Thanks for the motivative reply.

Quoted 1 line

Perl is *that* hard, is it?

I don't have any idea about Perl. I'll see if I could do something when I find time. That said, I wouldn't like to prevent anyone who like to take up this task. If anyone's interested, please take it up.

--
Regards,
Kaartic