-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[git] Assign stats for files with whitespaces
Git commit stats weren't assigned to the action for those files with whitespaces in ther filenames. Actions didn't have stats and empty stats entries were created, like in a merge commit. The problem was that the regular expression used to parse the stats considered whitespaces as separators. Signed-off-by: Santiago Dueñas <[email protected]>
- Loading branch information
Showing
4 changed files
with
29 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
releases/unreleased/git-file-stats-with-whitespaces-were-not-assigned.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
title: Git stats not assigned with their actions | ||
category: fixed | ||
author: Santiago Dueñas <[email protected]> | ||
issue: null | ||
notes: > | ||
Git stats were not assigned to their actions in | ||
a commit for filenames that contain whitespaces. | ||
Instead, an empty stat was created like in a | ||
merge commit, where actions normally don't take | ||
place. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters