Skip to contentSkip to conversation

Add interactive patch menu help scrolled away if hunk is long

DISCUSSION Sergio Callegari 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Hi,

when using git add -i, selecting the patch functionality, git shows the
Stage this hunk [y,n,q,a,d,/,K,j,J,g,s,e,?]?
question for each hunk.

Apparently the '?' entry meant to show help is not very useful when the hunk is long since the help is scrolled away as the hunk is reprinted.

Probably it would be better not to reprint the hunk when '?' is selected.

Sergio

#1 lore raw

Heya,

Quoted 1 line · Sergio Callegari

Probably it would be better not to reprint the hunk when '?' is selected.

Seconded! I was trying to explain git add -i to someone and typed '?' three times in a row wondering why it wasn't working.

Signature · 3 lines
Cheers,

Sverre Rabbelier