Now before anyone says this is duplicated it is not.
Everyone else is asking as a person committing.
In my case, I have to have a program commit certain lines of some files.
I would rather not use git add -p
and then have to parse output and do command line interaction via a program.
Is there a way to just give a list of line numbers when making a commit?
I know it has be done programmatically at least once because GitHub does it.