[PR #4572] [MERGED] Add missing final newlines #5187

Closed
opened 2026-05-05 10:33:53 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/4572
Author: @a1346054
Created: 9/22/2021
Status: Merged
Merged: 9/24/2021
Merged by: @netblue30

Base: masterHead: newline-fix


📝 Commits (1)

  • f927bc9 add missing final newlines at end of files

📊 Changes

10 files changed (+10 additions, -10 deletions)

View changed files

📝 etc/profile-a-l/balsa.profile (+1 -1)
📝 etc/profile-a-l/cola.profile (+1 -1)
📝 etc/profile-m-z/microsoft-edge-beta.profile (+1 -1)
📝 etc/profile-m-z/straw-viewer.profile (+1 -1)
📝 etc/profile-m-z/youtube-viewer.profile (+1 -1)
📝 src/fids/fids.h (+1 -1)
📝 src/firejail/ids.c (+1 -1)
📝 src/jailcheck/jailcheck.h (+1 -1)
📝 src/jailcheck/noexec.c (+1 -1)
📝 src/tools/profcleaner.c (+1 -1)

📄 Description

Split from #4497

Usually it is my editor warning about the missing newlines, but you can also run a command such as:

git ls-files | while IFS= read -r f; do [[ $(tail -c1 "$f" | xxd -p) == '0a' ]] || echo "$f"; done

which will give you a list of files in the repository that don't contain the final newline. You might need to tweak it a bit, since it also reports binary and empty files.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netblue30/firejail/pull/4572 **Author:** [@a1346054](https://github.com/a1346054) **Created:** 9/22/2021 **Status:** ✅ Merged **Merged:** 9/24/2021 **Merged by:** [@netblue30](https://github.com/netblue30) **Base:** `master` ← **Head:** `newline-fix` --- ### 📝 Commits (1) - [`f927bc9`](https://github.com/netblue30/firejail/commit/f927bc9197d5291b61fb29429d59fa380c905d3e) add missing final newlines at end of files ### 📊 Changes **10 files changed** (+10 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `etc/profile-a-l/balsa.profile` (+1 -1) 📝 `etc/profile-a-l/cola.profile` (+1 -1) 📝 `etc/profile-m-z/microsoft-edge-beta.profile` (+1 -1) 📝 `etc/profile-m-z/straw-viewer.profile` (+1 -1) 📝 `etc/profile-m-z/youtube-viewer.profile` (+1 -1) 📝 `src/fids/fids.h` (+1 -1) 📝 `src/firejail/ids.c` (+1 -1) 📝 `src/jailcheck/jailcheck.h` (+1 -1) 📝 `src/jailcheck/noexec.c` (+1 -1) 📝 `src/tools/profcleaner.c` (+1 -1) </details> ### 📄 Description Split from #4497 Usually it is my editor warning about the missing newlines, but you can also run a command such as: ```sh git ls-files | while IFS= read -r f; do [[ $(tail -c1 "$f" | xxd -p) == '0a' ]] || echo "$f"; done ``` which will give you a list of files in the repository that don't contain the final newline. You might need to tweak it a bit, since it also reports binary and empty files. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 10:33:53 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#5187
No description provided.