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 - Customization of GIT status labels
Summary: Customization of GIT status labels
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Git (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks: 225787
  Show dependency tree
 
Reported: 2013-02-19 21:17 UTC by markiewb
Modified: 2013-10-22 08:57 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Shows missing label customization for git in contrast to other scm (65.23 KB, image/png)
2013-02-19 21:17 UTC, markiewb
Details
Shows all the possible label decorators in egit (55.32 KB, image/png)
2013-03-24 21:39 UTC, markiewb
Details

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