pombreda / nbgit

Automatically exported from code.google.com/p/nbgit
0 stars 0 forks source link

How can I customize actions? #35

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I want to customize a new action, e.g. git-branch. I fill the "New Custom
Action" dialog box like this:
Name: Show branches
Path: /usr/bin/git-branch
Arguments: //empty

However, when i select my project in the project window, then click "Show
branches" button, the output is "fatal: Not a git repository". By the way i
checkout my project using git-svn and i can git-branch in a terminal.

Original issue reported on code.google.com by csz...@gmail.com on 19 Feb 2009 at 6:45

GoogleCodeExporter commented 9 years ago
It would help if you could post the output of running:

  git config --list | grep nbgit

in the repository. The output should look something like

 nbgit.action0.name=git-branch
 nbgit.action0.path=/usr/bin/git-branch
 nbgit.action0.args=
 nbgit.action0.showoutput=true
 nbgit.action0.showdirty=true
 nbgit.action0.workdirroot=true

Specifically, showoutput and workdirroot should both be true.

Original comment by jonas.fonseca on 9 Mar 2009 at 10:19

GoogleCodeExporter commented 9 years ago

Original comment by jonas.fonseca on 9 Mar 2009 at 10:30