Exemplo n.º 1
0
        private static void Reset(string commit)
        {
            string oid = OidConverter(commit);

            ResetOperation.Reset(oid);
        }
Exemplo n.º 2
0
 public void ResetTest()
 {
     dataProvider.Setup(d => d.UpdateRef("HEAD", It.Is <RefValue>(r => !r.Symbolic && r.Value == "foo-oid"), true));
     resetOpreation.Reset("foo-oid");
     dataProvider.VerifyAll();
 }