[PR #954] [MERGED] Force Unix line endings on shell scripts #12140

Closed
opened 2025-12-29 22:19:50 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/954
Author: @psr
Created: 3/9/2017
Status: Merged
Merged: 3/13/2017
Merged by: @jeremystretch

Base: developHead: develop


📝 Commits (1)

  • d68b34c Force Unix line endings on shell scripts

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

.gitattributes (+1 -0)

📄 Description

Fixes: #952

By setting .gitattributes, we force LF rather than CRLF line endings on
shell scripts on Windows. Other files are left as is.

This makes the quickstart docker instructions work on Windows (using
Docker for Windows).


🔄 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/netbox-community/netbox/pull/954 **Author:** [@psr](https://github.com/psr) **Created:** 3/9/2017 **Status:** ✅ Merged **Merged:** 3/13/2017 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `develop` --- ### 📝 Commits (1) - [`d68b34c`](https://github.com/netbox-community/netbox/commit/d68b34cefeeff72576478eb0920956064e8d8559) Force Unix line endings on shell scripts ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `.gitattributes` (+1 -0) </details> ### 📄 Description ### Fixes: #952 By setting .gitattributes, we force LF rather than CRLF line endings on shell scripts on Windows. Other files are left as is. This makes the quickstart docker instructions work on Windows (using Docker for Windows). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 22:19:50 +01:00
adam closed this issue 2025-12-29 22:19:50 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12140