From 8ff7008d4054ac267e597666366686af3cb20154 Mon Sep 17 00:00:00 2001 From: pancake Date: Wed, 13 Apr 2022 01:25:05 +0200 Subject: [PATCH] Increase commit log from 3 to 10 in ##r2pm --- binr/r2pm/r2pm.sh | 4 ++-- libr/main/r2pm.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/binr/r2pm/r2pm.sh b/binr/r2pm/r2pm.sh index a0790b41c8..60f8d59fb7 100755 --- a/binr/r2pm/r2pm.sh +++ b/binr/r2pm/r2pm.sh @@ -233,11 +233,11 @@ r2pm_update() { cd "${R2PM_GITDIR}" || return 1 if [ -d radare2-pm ]; then cd radare2-pm - git reset --hard @^^ + git reset --hard @^^ > /dev/null 2>&1 git pull else echo git clone https://github.com/radareorg/radare2-pm - git clone -q --depth=3 --recursive https://github.com/radareorg/radare2-pm + git clone -q --depth=10 --recursive https://github.com/radareorg/radare2-pm cd radare2-pm pwd fi diff --git a/libr/main/r2pm.c b/libr/main/r2pm.c index a4b4fd0014..a1a6516634 100644 --- a/libr/main/r2pm.c +++ b/libr/main/r2pm.c @@ -69,7 +69,7 @@ static int git_pull(const char *dir) { } static int git_clone(const char *dir, const char *url) { - char *cmd = r_str_newf ("git clone --depth=3 --recursive %s %s", url, dir); + char *cmd = r_str_newf ("git clone --depth=10 --recursive %s %s", url, dir); int rc = r_sandbox_system (cmd, 1); free (cmd); return rc;