Example #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());
 }
Example #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());
     }
 }
Example #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());
        }
Example #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());
            }
        }