From 005f4ca25d7faf69a1e21f091d640ff2cc0035ef Mon Sep 17 00:00:00 2001 From: "Dusty.P" Date: Fri, 20 Apr 2018 20:23:02 -0800 Subject: [PATCH] Fixed Git Pull --- exts/git.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/exts/git.py b/exts/git.py index 5fcc10e..b89f14c 100644 --- a/exts/git.py +++ b/exts/git.py @@ -28,7 +28,9 @@ class Git: em.set_thumbnail(url=f'{ctx.guild.me.avatar_url}') result = await asyncio.wait_for(self.bot.loop.create_task(run_command('git fetch --all')), 120) + '\n' result += await asyncio.wait_for(self.bot.loop.create_task(run_command('git reset --hard ' - 'origin/master')), 120) + '\n\n' + 'origin/$(git ' + 'rev-parse --symbolic-full-name' + '--abbrev-ref HEAD)')), 120) + '\n\n' result += await asyncio.wait_for(self.bot.loop.create_task(run_command('git show --stat | ' 'sed "s/.*@.*[.].*/ /g"')), 10) results = paginate(result, maxlen=1014)