stash: re-add # of insertions/deletions to stash info

This commit is contained in:
Josh Holtrop 2013-03-11 22:25:30 -04:00
parent d6f74de034
commit 32574bdd23

4
jsvn
View File

@ -1355,6 +1355,10 @@ q: quit and abort stash
svars['binary_file'] = True
else:
svars['hunk_buildup'] += line
if line.startswith('+'):
svars['n_insertions'] += 1
elif line.startswith('-'):
svars['n_deletions'] += 1
if svars['quit']:
break
if not svars['quit']: