Changed to using gid-diff-index for getting file states.
[Widgit.git] / Git / Treeish.cs
blob3db77963b74e642b1dfc5b70fc8936d1f34e1caa
2 using System;
4 namespace Git
6 public abstract class Treeish
8 public abstract string ID { get; }
9 public abstract string Name { get; }
11 protected string m_path;
13 public Treeish(string path)
15 m_path = path;
18 public virtual bool Verify()
20 Executioner e = Executioner.GetExecutioner(m_path, false);
21 return 0 == e.Execute("git-rev-parse", "--verify " + ID);