Namespaces

Types in GitSharp.Commands

Type ReadTreeCommand

Namespace GitSharp.Commands

Parent AbstractCommand

Properties

Public properties

string ActualDirectory get;

bool Aggressive get; set;

Not implemented Usually a three-way merge by 'git-read-tree' resolves the merge for really trivial cases and leaves other cases unresolved in the index, so that Porcelains can implement different merge policies. This flag makes the command to resolve a few more cases internally: + * when one side removes a path and the other side leaves the path unmodified. The resolution is to remove that path. * when both sides remove a path. The resolution is to remove that path. * when both sides adds a path identically. The resolution is to add that path.

List<string> Arguments get; set;

string ExcludePerDirectory get; set;

Not implemented When running the command with `-u` and `-m` options, the merge result may need to overwrite paths that are not tracked in the current branch. The command usually refuses to proceed with the merge to avoid losing such a path. However this safety valve sometimes gets in the way. For example, it often happens that the other branch added a file that used to be a generated file in your branch, and the safety valve triggers when you try to switch to that branch after you ran `make` but before running `make clean` to remove the generated file. This option tells the command to read per-directory exclude file (usually '.gitignore') and allows such an untracked but explicitly ignored file to be overwritten.

string GitDirectory get; set;

bool I get; set;

Not implemented Usually a merge requires the index file as well as the files in the working tree are up to date with the current head commit, in order not to lose local changes. This flag disables the check with the working tree and is meant to be used when creating a merge of trees that are not directly related to the current working tree status into a temporary index file.

string IndexOutput get; set;

Not implemented Instead of writing the results out to `$GIT_INDEX_FILE`, write the resulting index in the named file. While the command is operating, the original index file is locked with the same mechanism as usual. The file must allow to be rename(2)ed into from a temporary file that is created next to the usual index file; typically this means it needs to be on the same filesystem as the index file itself, and you need write permission to the directories the index file and index output file are located in.

bool M get; set;

Not implemented Perform a merge, not just a read. The command will refuse to run if your index file has unmerged entries, indicating that you have not finished previous merge you started.

StreamWriter OutputStream get; set;

string Prefix get; set;

Not implemented Keep the current index contents, and read the contents of named tree-ish under directory at ``. The original index file cannot have anything at the path `` itself, and have nothing in `/` directory. Note that the `/` value must end with a slash.

Repository Repository get; set;

bool Reset get; set;

Not implemented Same as -m, except that unmerged entries are discarded instead of failing.

bool Trivial get; set;

Not implemented Restrict three-way merge by 'git-read-tree' to happen only if there is no file-level merging required, instead of resolving merge for trivial cases and leaving conflicting files unresolved in the index.

bool U get; set;

Not implemented After a successful merge, update the files in the work tree with the result of the merge.

bool V get; set;

Not implemented Show the progress of checking files out.