pombreda / nbgit

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

commit error after deleting a source-file #87

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. commit
2. delete one sourcefile (.java)
3. commit again, leaving all options at the default (i.e. commit action = 
remove)

What is the expected output? What do you see instead?
Expected: a successful commit
Actual: after hitting the "commit" button, a messagebox pops up with the title 
"Exception" and the text "/path/to/file.java (No such file or directory)"

What versions of NbGit, NetBeans and Java are you using?
On what operating system?
NbGit: nbgit-0.4-netbeans-6.9.nbm
NetBeans: 6.9 with all available updates on Ubuntu 10.4 Lucid
$ java -version
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)

Please provide any additional information below.
This might or might not be related to Issue #47. Manually commiting on the 
shell using "git commit" does work as expected so I don't assume a borked git 
repository.

Looking into $home/.netbeans/6.9/var/log/messages.log does not reveal anything 
related to this.

Thanks for your effort
Christoph

Original issue reported on code.google.com by Honolulu...@googlemail.com on 18 Sep 2010 at 11:49

GoogleCodeExporter commented 9 years ago
NetBeans output:
Git Commit
----------
git bug?
A src/dulldemo/NewClass.java
INFO: End of Commit

Please note the "A". Seems like it wants to (A)dd the file?

Original comment by Honolulu...@googlemail.com on 18 Sep 2010 at 11:55

GoogleCodeExporter commented 9 years ago
What did you do as a solution to this issue?
I saw I deleted my files after the commit. How do I undo the commit.

Original comment by ercanpinarr on 15 Feb 2013 at 9:33