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 257085 - Remote Git does not show outgoing for a branch
Summary: Remote Git does not show outgoing for a branch
Status: RESOLVED DUPLICATE of bug 257119
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote VCS (show other bugs)
Version: 8.2
Hardware: PC Linux
: P2 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-09 17:19 UTC by Alexander Pepin
Modified: 2015-12-15 15:55 UTC (History)
0 users

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 Alexander Pepin 2015-12-09 17:19:09 UTC
Steps to reproduce:
- clone a project from git repository on the remote host
- open just cloned full remote project
- create a new branch e.g. Release
- switch to Release branch
- make some changes in the project and save the changed files
- commit the changes
- push changes and confirm new branch creation in the repository
- make some changes in another source file
- commit the changes (to Release branch)
- call "Remote Git -> Remote -> Show Outgoing" to view changes which are going to be pushed to the repository
Result: "Show Outgoing" window doe not show changes and contains grayed text:
Please push branch "Release" first and set its remote tracking.

In fact the following command was executed:
git --no-pager branch -v -v -a

whereas the following command would give correct result:

-bash-4.1$ git --no-pager log --raw --pretty=raw  Release^..Release -10
commit 855f1e5045cbbdb9893d4a308a0bbe9aecfc542a
tree 96017cafeab8240eaf485d783cd9e08a7802691e
parent 0ed55584b6492d6ed77e7faf915f61afece3df04
author user <user@git.com> 1449678306 +0300
committer hudson <hudson@spb-ladoga.ru.oracle.com> 1449678306 +0300

    Made critical changes for RC1

:100644 100644 60e15e1... be089f7... M  system.cc
Comment 1 Alexander Pepin 2015-12-09 17:34:02 UTC
Show History works correctly.
Comment 2 Alexander Pepin 2015-12-09 17:34:48 UTC
Show History executes:
git --no-pager log --raw --pretty=raw -m Release -10 --full-diff --
Comment 3 Alexander Simon 2015-12-15 15:55:57 UTC

*** This bug has been marked as a duplicate of bug 257119 ***