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 226364

Summary: Customization of GIT status labels
Product: versioncontrol Reporter: markiewb
Component: GitAssignee: Ondrej Vrabec <ovrabec>
Status: RESOLVED FIXED    
Severity: normal CC: git
Priority: P3    
Version: 7.3   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 225787    
Attachments: Shows missing label customization for git in contrast to other scm
Shows all the possible label decorators in egit

Description markiewb 2013-02-19 21:17:45 UTC
Created attachment 131582 [details]
Shows missing label customization for git in contrast to other scm

The other SCM implementations for CVS, SVN, HG support the customization of status labels. But Git not yet. See attached screenshot

EXPECTED: support the customization of status labels
Comment 1 Ondrej Vrabec 2013-02-19 21:38:56 UTC
And what properties do you expect? Displaying them on files or folders makes no sense since they'd all be the same so the only candidate is a project/repository root node. And it displays branch/tag name already.
Comment 2 markiewb 2013-02-19 22:17:00 UTC
(In reply to comment #1)
> And what properties do you expect? Displaying them on files or folders makes no
> sense since they'd all be the same so the only candidate is a
> project/repository root node. And it displays branch/tag name already.

Thanks for your response. I understand your objections. 

a) But your objections are also valid for Mercurial support. The strange thing is that in the HG options panel the status label is customizable like "[{status} {folder}]". This seems inconsistent to me.

b) It would make sense in combination with http://netbeans.org/bugzilla/show_bug.cgi?id=225787. The requested upstream status could be an option, which the user can enable here.
Comment 3 Ondrej Vrabec 2013-02-20 06:35:10 UTC
(In reply to comment #2)
> a) But your objections are also valid for Mercurial support. The strange thing
> is that in the HG options panel the status label is customizable like
> "[{status} {folder}]". This seems inconsistent to me.
Sure it's nonsense that it's possible to define them for Mercurial. A mistake by the original author of the Merc. support who was inspired by SVN but probably did not think this through. If it were for me i would remove it in the Mercurial options panel.
> b) It would make sense in combination with
> http://netbeans.org/bugzilla/show_bug.cgi?id=225787. The requested upstream
> status could be an option, which the user can enable here.
I see.
Comment 4 markiewb 2013-03-24 21:39:58 UTC
Created attachment 133012 [details]
Shows all the possible label decorators in egit

Only for FYI
Comment 5 Ondrej Vrabec 2013-10-22 08:57:45 UTC
fix: http://hg.netbeans.org/core-main/rev/111fec454c1e