Increase commit log from 3 to 10 in ##r2pm
This commit is contained in:
parent
d3c7a5b2fa
commit
8ff7008d40
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue