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 236408 - Git Show Summary and symbolic links
Summary: Git Show Summary and symbolic links
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Git (show other bugs)
Version: 7.3.1
Hardware: PC Linux
: P4 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks: 243092
  Show dependency tree
 
Reported: 2013-09-26 09:30 UTC by TomaszKane
Modified: 2015-05-08 14:14 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 TomaszKane 2013-09-26 09:30:08 UTC
Product Version = NetBeans IDE 7.3.1 (Build 201306052037)
Operating System = Linux version 3.2.0-53-generic-pae running on i386
Java; VM; Vendor = 1.7.0_25
Runtime = OpenJDK Client VM 23.7-b01

1) I have git repo with structure:
.
├── /boo
├── old_file
└── /some_dir
    └── some_file

2) Commit all of it

3) Add sumbolic link:
.
├── /boo
│   └── some_link -> ../some_dir/
├── old_file
└── /some_dir
    └── some_file

4) And now:
$ git status 
# On branch master
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#       boo/
nothing added to commit but untracked files present (use "git add" to track)

But NetBeans -> Git -> Show Changes:
some_file	-/Added	boo/some_link/some_file

That's lie.

NetBeans say that even if I add "some_link" to ignored folders

I expect that:
NB: Git -> Show Changes == $ git status
Comment 1 Ondrej Vrabec 2014-01-09 13:31:20 UTC
fix: http://hg.netbeans.org/core-main/rev/a8f40da2e831
Comment 2 darrencook 2015-05-08 14:14:08 UTC
This bug may still be present in NetBeans 8.0: specifically the final bit where the output of "Git -> Show Changes" does not match was "git status" shows me from the commandline.

In my case I was importing from an existing Makefile project. I have a couple of symbolic links to other libraries. I keep the symbol links in git, but none of the files inside them.

I also just tried explicit .gitignore entries to ignore anything under the two directories in question. I started over, re-creating the project. But it still wants to add all the files under them.

Mint 17 (Ubuntu 14.04.2)
netbeans 8.0.2
git 1.9.1