13 #include <SupportKit.h> 34 Add(BString, vector<char*>);
36 static int AddFiles(BString, vector<char*>);
37 static git_strarray
InitArray(vector<char*> files);
BString fDirPath
The current directory where Init option is selected.
vector< char * > fFiles
The list of files to be added.
Add(BString, vector< char *>)
Add command constructor.
static int AddFiles(BString, vector< char *>)
Adds given files into git repository.
static git_strarray InitArray(vector< char *> files)
Initializes git_strarray.
Header file of GitCommand.
virtual void Execute()
Add command excution.
static void FreeArray(git_strarray)
Frees the allocated strings in git_strarray.