alexcouper / captainhook

Git hook scripts
BSD 3-Clause "New" or "Revised" License
54 stars 14 forks source link

git commit -p pain #23

Closed alexcouper closed 10 years ago

alexcouper commented 10 years ago

I performed a rather complex and tedious partial commit, once I had finished splitting and editing the chunks I got commit rejected.

I wonder if there's a way of saving the partial layout.

Or alternatively detecting that it's partial and giving an option to go for it anyway.

OddBloke commented 10 years ago

In case you aren't aware, you can also git add -p and then commit your index normally. So that would at least work around this problem...

alexcouper commented 10 years ago

True - wasn't aware of that actually.