Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not showing newly created branches in main view #196

Closed
Avinash-Bhat opened this issue Sep 3, 2013 · 6 comments
Closed

not showing newly created branches in main view #196

Avinash-Bhat opened this issue Sep 3, 2013 · 6 comments

Comments

@Avinash-Bhat
Copy link
Contributor

I've the following external command in the tigrc:

bind branch n !git branch %(prompt)

So when i create a branch it is shown in the branch view.
But when i switch to main view, the tree shows the same as before without the current reference in place.

@Avinash-Bhat
Copy link
Contributor Author

also i'm switching to the newly created branch

@vivien
Copy link
Contributor

vivien commented Sep 3, 2013

Actually this is not tracked, you have to refresh manually after such commands ('R').

@Avinash-Bhat
Copy link
Contributor Author

Its not showing when i'm refreshing with 'R'

@Avinash-Bhat
Copy link
Contributor Author

Please find the images of the repo.
initial repo view
branch view- creating branch
feature-A created
check out feature-A?
checked out feature-A
main view after refresh

@Avinash-Bhat
Copy link
Contributor Author

the steps to reproduce the issue is as follows:

Requirements:
tigrc with the aforementioned binding

  1. from branch view press 'n' and name the branch name (here feature-A)
  2. checkout the branch using 'C'
  3. go to main view, (using 'q' or 'm')
  4. refresh using 'R'

expected:
the created branch should be shown near to the previous branch (here master).
output:
there is no refs showing the current branch (here feature-A).

Hope this helps @vivien

@jonas jonas closed this as completed in bbca0b0 Oct 5, 2013
@jonas
Copy link
Owner

jonas commented Oct 5, 2013

Thanks for reporting this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants