You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At certain times I just want to have the number of lines added and deleted, rather than a visual diff output. I can't seem to find a method to give me access to this information - it seems the only way is to regex the output to determine this by using each on ever new line . Am I wrong? It seems as if this would be a nice feature to have, even if diffy is more intended for visual output.
The text was updated successfully, but these errors were encountered:
Currently diffy doesn't do this, though I agree it would be a nice feature. The best approach would be using the Diffy::Diff#each or Diffy::Diff#injectto do the totals, like you suggest. If you or someone would like to add this functionality I'd be happy to review a PR.
At certain times I just want to have the number of lines added and deleted, rather than a visual diff output. I can't seem to find a method to give me access to this information - it seems the only way is to regex the output to determine this by using
each
on ever new line . Am I wrong? It seems as if this would be a nice feature to have, even ifdiffy
is more intended for visual output.The text was updated successfully, but these errors were encountered: