From 7a849ab108f242b3845e8d3ac5dfa54e724c8d8c Mon Sep 17 00:00:00 2001 From: Vishesh Handa Date: Tue, 28 May 2019 14:49:59 +0200 Subject: [PATCH] git rm: Add some more logs --- gj_common/gitjournal.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gj_common/gitjournal.c b/gj_common/gitjournal.c index 9049dd66..c8353990 100644 --- a/gj_common/gitjournal.c +++ b/gj_common/gitjournal.c @@ -78,7 +78,7 @@ int match_cb(const char *path, const char *spec, void *payload) UNUSED(spec); UNUSED(payload); - gj_log_internal("Match: %s\n", path); + gj_log_internal("Add Match: %s\n", path); return 0; } @@ -132,6 +132,7 @@ int rm_match_cb(const char *path, const char *spec, void *payload) strcat(full_path, "/"); // FIXME: Will not work on windows! strcat(full_path, path); + gj_log_internal("Removing File: %s\n", full_path); int err = remove(full_path); if (err != 0) { @@ -503,8 +504,6 @@ int gj_git_pull(const char *git_base_path, const char *author_name, const char * goto cleanup; } - // FIXME: Do not make a merge commit when not required! - err = git_remote_lookup(&remote, repo, "origin"); if (err < 0) goto cleanup;