{"thread":{"id":"16304","subject":"How to do equivalent of git-status using jgit?","startedAt":"2008-11-13T15:10:58Z","lastAt":"2008-11-13T15:10:58Z","messageCount":1,"participants":["Farrukh Najmi"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"95691","messageId":"491C4382.4080602@wellfleetsoftware.com","threadId":"16304","inReplyTo":null,"subject":"How to do equivalent of git-status using jgit?","fromName":"Farrukh Najmi","fromEmail":"farrukh@wellfleetsoftware.com","sentAt":"2008-11-13T15:10:58Z","receivedAt":"2008-11-13T15:10:58Z","isPatch":false,"sender":{"key":"farrukh@wellfleetsoftware.com","avatar":"https://gravatar.com/avatar/92ea2740412df69f91bfc2c8a6aae915e01802f2bba9d646689e0ee3aa2d7d3f?d=mp&s=160"},"body":"\nI am making slow but steady progress thanks to all the help from the \nlist. Thank you.\n\nI need some guidance on how use jgit to determine what files have \nuncommitted changes in the local workspace and what is their status with \nrespect to the GitIndex.\n\nMy goal is to implement a method with the following signature:\n\nvoid commit(String commitMessage) {\n  ...\n}\n\nI am looking at the doCommit method at:\n\n<http://github.com/myabc/nbgit/tree/master/src/org/nbgit/util/GitCommand.java#L306>\n\nThis method takes a list of files. What I need is to somehow determine \nthe list of files that need committing.\n\nThanks for your help.\n\n-- \nRegards,\nFarrukh Najmi\n\nWeb: http://www.wellfleetsoftware.com\n"}]}