This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository efm2.

View the commit online.

commit cfac7a7e4bc355595aaffc4713a2429832d2ef62
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
AuthorDate: Mon Apr 29 19:22:25 2024 +0100

    remove debug/comments not needed
---
 src/backends/default/mv.c | 21 ++-------------------
 1 file changed, 2 insertions(+), 19 deletions(-)

diff --git a/src/backends/default/mv.c b/src/backends/default/mv.c
index 08004a3..3cfe971 100644
--- a/src/backends/default/mv.c
+++ b/src/backends/default/mv.c
@@ -31,9 +31,6 @@ main(int argc, char **argv)
   ecore_init();
   efreet_init();
 
-  fprintf(stderr, "MV: [%s] -> [%s]\n", src, dst);
-  fflush(stderr);
-
   config_dir = getenv("E_HOME_DIR");
   home_dir   = getenv("HOME");
   if (!home_dir) return 77; // no $HOME? definitely an error!
@@ -46,18 +43,6 @@ main(int argc, char **argv)
     }
   meta_init(config_dir);
 
-  // src = ""
-  // dst = DDIR/
-  //
-  // mv          SDIR/SFILE DDIR/SFILE
-  // if errno == EXDEV
-  //   cp        SDIR/SFILE DDIR/SFILE
-  //   rm        SDIR/SFILE
-  // else if errno == 0
-  //   if exists SDIR/.efm/SFILE.efm
-  //     mkdir   DDIR/.efm
-  //     mv      SDIR/.efm/SFILE.efm DDIR/.efm/SFILE.efm
-
   fname = ecore_file_file_get(src);
   if (!fname) goto err;
   buf = eina_strbuf_new();
@@ -94,10 +79,8 @@ main(int argc, char **argv)
       free(src_meta);
       free(dst_meta);
     }
-  else
-    {
-      status_end();
-    }
+  else status_end();
+
 err:
   if (buf) eina_strbuf_free(buf);
   status_end();

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to