summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cgit_helper.rs5
-rw-r--r--src/git_tools.rs3
2 files changed, 8 insertions, 0 deletions
diff --git a/src/cgit_helper.rs b/src/cgit_helper.rs
index 04eae6e..f55c6d4 100644
--- a/src/cgit_helper.rs
+++ b/src/cgit_helper.rs
@@ -1,3 +1,8 @@
pub fn cgit_add_repo(cgit_repos_file_path: String, section_name: String) {
+ /* TODO
+ * Change configuration in /path/to/cgitrepos
+ * to make visible the new repository
+ * maybe let user choose if they want repo to be visible or not
+ * */
}
diff --git a/src/git_tools.rs b/src/git_tools.rs
index bd05d07..311aa93 100644
--- a/src/git_tools.rs
+++ b/src/git_tools.rs
@@ -54,5 +54,8 @@ pub fn make_repo(raw_repo_name: &str, owner_text: &str) -> Result<Repository, Re
return Err(RepoCreateError::Internal);
}
};
+ /* TODO
+ * We want to change the config file to append http.receivepack = true
+ * */
Ok(repo)
}