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