Skip to content

Commit bfdf53d

Browse files
committed
Removes unused code
Removes an unused loop that was iterating over parent commits. The loop was not contributing to the functionality of the script.
1 parent 3b5f8c0 commit bfdf53d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ gitlogp() {
146146
147147
n=split(parents, arr, " ")
148148
parentCount[commit]=n
149-
for (i=1; i<=n; i++) if (arr[i] != "") parentOf[commit]=parentOf[commit] " " arr[i]
149+
150150
151151
if (n > 1) markBranch[arr[2]]=1
152152
}

0 commit comments

Comments
 (0)