Skip to contentSkip to conversation

Make a couple of commands builtin

PATCH In review Lukas Sandström 2 participants 3 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

cover Make a couple of commands builtin

This patchseries has the ultimate goal of making
git-am a builtin.

The version of git-am I'm sending out makes quite heavy use of system(), but I think that can be worked around. I just haven't figured out how, yet.

/Lukas

#1 lore raw
Quoted 6 lines · Lukas Sandström

This patchseries has the ultimate goal of making
git-am a builtin.

The version of git-am I'm sending out makes quite heavy use of system(), but I think that can be worked around. I just haven't figured out how, yet.

I don't think git-stripspace needs to be a built-in. It doesn't even depend on git. It is just a tiny helper program used by git-am, git-applymbox, git-commit and git-tag. If all these commands are made built-in then git-stripspace becomes useless.

Signature · 1 line
http://onion.dynserv.net/~timo/
#2 lore raw
Quoted 5 lines · Timo Hirvonen
Quoted 3 lines · Lukas Sandström

This patchseries has the ultimate goal of making
git-am a builtin.

Quoted 9 lines
Quoted 3 lines

The version of git-am I'm sending out makes quite heavy use of system(), but I think that can be worked around. I just haven't figured out how, yet.

I don't think git-stripspace needs to be a built-in. It doesn't even depend on git. It is just a tiny helper program used by git-am, git-applymbox, git-commit and git-tag. If all these commands are made built-in then git-stripspace becomes useless.

The reason I made it builtin was to de able to call it easily from git-am.

As you say, once all the users are builtin it could be removed, unless somone is using it in their scripts.

/Lukas