Skip to content

Commit 3c8c9dc

Browse files
committed
Fixed small bug in pick_commit_reflog, don't pass --all option to git reflog, because it excludes certain commits
1 parent 3fc3f6f commit 3c8c9dc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pick_git/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def pick_commit(*args):
7777
def pick_commit_reflog(*args):
7878
"""Pick a commit hash from the reflog.
7979
"""
80-
commits = subprocess.check_output(('git', 'reflog', '--all', '--date=short') + args)
80+
commits = subprocess.check_output(('git', 'reflog', '--date=short') + args)
8181
commits = add_new_line(commits)
8282
p = subprocess.Popen(['pick'], stdin=PIPE, stdout=PIPE, stderr=STDOUT)
8383
commit = p.communicate(input=commits)[0]

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
setup(
44
name='pick-git',
5-
version='1.2.0',
5+
version='1.2.1',
66
description="Use pick by thoughtbot to turbocharge your Git workflow",
77
long_description='Check it out on GitHub',
88
keywords='pick git thoughtbot fuzzy select terminal productivity',
99
url='https://github.com/kylebebak/pick-git',
10-
download_url = 'https://github.com/kylebebak/pick-git/tarball/1.2.0',
10+
download_url = 'https://github.com/kylebebak/pick-git/tarball/1.2.1',
1111
author='kylebebak',
1212
author_email='[email protected]',
1313
license='MIT',

0 commit comments

Comments
 (0)