This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 257424

Summary: gitignore line endings changed
Product: versioncontrol Reporter: physcopanda <physcopanda>
Component: GitAssignee: Ondrej Vrabec <ovrabec>
Status: NEW ---    
Severity: normal CC: git
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Windows 10 x64   
Issue Type: DEFECT Exception Reporter:

Description physcopanda 2016-01-05 17:07:50 UTC
Using the "Files" window,
On clicking on a file with right mouse button and selecting the following context menu item:
git / ignore / ignore

The path is added correctly to .gitignore however the line endings of the gitignore file are modified to my system default. This is annoying when in a sharing files through a repo between Mac and Windows. Please can you update to leave as-is!
Comment 1 Ondrej Vrabec 2016-03-18 15:22:29 UTC
Do you use config.autocrlf=true in your git repo? With this setting it should work fine and .gitignore itself should not be marked as modified. Can you please check?