~skeeto/public-inbox

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch

[PATCH] Don't subtract line counts from byte counts

Details
Message ID
<4a47258ddaee3bf92dcf.1652826457@bee.zeus.nullprogram.com>
DKIM signature
missing
Download raw message
Patch: +1 -1
# HG changeset patch
# User Christopher Wellons <wellons@nullprogram.com>
# Date 1652825911 14400
#      Tue May 17 18:18:31 2022 -0400
# Node ID 4a47258ddaee3bf92dcf5825402880bcbf6eb30a
# Parent  f7d49e0c0cf9fb14e106eaccd25330eaff12e854
Don't subtract line counts from byte counts

diff --git a/main.go b/main.go
--- a/main.go
+++ b/main.go
@@ -46,7 +46,7 @@
	if child.parent != nil {
		if child.parent.isother {
			child.parent.loc -= child.loc
			child.parent.bcount -= child.loc
			child.parent.bcount -= child.bcount
		}
		for i, c := range child.parent.subdirs {
			if c == child {
Reply to thread Export thread (mbox)