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 - gitignore line endings changed
Summary: gitignore line endings changed
Status: NEW
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Git (show other bugs)
Version: 8.1
Hardware: PC Windows 10 x64
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-05 17:07 UTC by physcopanda
Modified: 2016-03-18 15:22 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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?