stash: re-add # of insertions/deletions to stash info
This commit is contained in:
parent
d6f74de034
commit
32574bdd23
4
jsvn
4
jsvn
@ -1355,6 +1355,10 @@ q: quit and abort stash
|
|||||||
svars['binary_file'] = True
|
svars['binary_file'] = True
|
||||||
else:
|
else:
|
||||||
svars['hunk_buildup'] += line
|
svars['hunk_buildup'] += line
|
||||||
|
if line.startswith('+'):
|
||||||
|
svars['n_insertions'] += 1
|
||||||
|
elif line.startswith('-'):
|
||||||
|
svars['n_deletions'] += 1
|
||||||
if svars['quit']:
|
if svars['quit']:
|
||||||
break
|
break
|
||||||
if not svars['quit']:
|
if not svars['quit']:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user