2 using System
.Collections
.Generic
;
7 public class Branch
: Treeish
9 protected string m_name
;
10 public override string Name { get { return m_name; }
internal set { m_name = value; }
}
12 protected string m_hash
;
13 public override string ID { get { return m_hash; }
internal set { m_hash = value; }
}
15 public Branch(string path
, string name
) : base(path
)
20 public override bool Verify()
22 Executioner e
= Executioner
.GetExecutioner(m_path
, false);
24 bool retval
= 0 == e
.Execute("git-show-ref", "-s --heads " + Name
, "", out output
, out error
);
25 m_hash
= output
.Trim();
29 public override string ToString()