Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » [JGit] AddCommand adds ALL files, not just modified and new
[JGit] AddCommand adds ALL files, not just modified and new [message #582381] Wed, 28 July 2010 13:04 Go to next message
Kees Bakker is currently offline Kees BakkerFriend
Messages: 8
Registered: July 2010
Junior Member
Hi,

AddCommand.call() adds all files from the filepatterns. This is unexpected (for me, at least). Is this intentional? This is not what git-add commandline tool does. If I simply want to add all modified and new files I can do the following on the commandline:

git add .

The question is: should I be able to use AddCommand for that?

Kind regards, Kees Bakker
Re: [JGit] AddCommand adds ALL files, not just modified and new [message #582398 is a reply to message #582381] Wed, 28 July 2010 15:34 Go to previous messageGo to next message
Christian Halstrick is currently offline Christian HalstrickFriend
Messages: 18
Registered: July 2009
Junior Member
what are the files which you don't want to be added? The unchanged files or the ignored files?
Re: [JGit] AddCommand adds ALL files, not just modified and new [message #582416 is a reply to message #582398] Thu, 29 July 2010 07:09 Go to previous message
Kees Bakker is currently offline Kees BakkerFriend
Messages: 8
Registered: July 2010
Junior Member
Christian Halstrick wrote on Wed, 28 July 2010 11:34
> what are the files which you don't want to be added? The unchanged files or the ignored files?


Indeed. Same as the command line, the unchanged and ignored files are not added (at least, not without an extra option).
Previous Topic:egit status differs from git command line one
Next Topic:Can not wrap mind around proper workflow with EGIT to collab on remote GIT servers...
Goto Forum:
  


Current Time: Sat Nov 22 10:44:11 GMT 2014

Powered by FUDForum. Page generated in 0.04874 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software