예제 #1
0
 public void AddEntry(SubmoduleEntry entry)
 {
     setString("submodule", entry.Name, "path", entry.Path);
     setString("submodule", entry.Name, "url", entry.Url.ToPrivateString());
     if (entry.Update != SubmoduleEntry.UpdateMethod.Checkout)
         setString("submodule", entry.Name, "update", entry.Update.ToString().ToLowerInvariant());
 }
예제 #2
0
 public void AddEntry(SubmoduleEntry entry)
 {
     setString("submodule", entry.Name, "path", entry.Path);
     setString("submodule", entry.Name, "url", entry.Url.ToPrivateString());
     if (entry.Update != SubmoduleEntry.UpdateMethod.Checkout)
     {
         setString("submodule", entry.Name, "update", entry.Update.ToString().ToLowerInvariant());
     }
 }
예제 #3
0
        public void AddEntry(SubmoduleEntry entry)
        {
            if (entry == null)
                throw new System.ArgumentNullException ("entry");

            setString("submodule", entry.Name, "path", entry.Path);
            setString("submodule", entry.Name, "url", entry.Url.ToPrivateString());
            if (entry.Update != SubmoduleEntry.UpdateMethod.Checkout)
                setString("submodule", entry.Name, "update", entry.Update.ToString().ToLowerInvariant());
        }
예제 #4
0
        public void AddEntry(SubmoduleEntry entry)
        {
            if (entry == null)
            {
                throw new System.ArgumentNullException("entry");
            }

            setString("submodule", entry.Name, "path", entry.Path);
            setString("submodule", entry.Name, "url", entry.Url.ToPrivateString());
            if (entry.Update != SubmoduleEntry.UpdateMethod.Checkout)
            {
                setString("submodule", entry.Name, "update", entry.Update.ToString().ToLowerInvariant());
            }
        }