Skip to content

Commit

Permalink
Fixup git-changeset args
Browse files Browse the repository at this point in the history
  • Loading branch information
dmnks committed Dec 23, 2023
1 parent 53d4cf4 commit 20f5d3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions devel_doc/git-changeset
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,11 @@ parser = argparse.ArgumentParser(
parser.add_argument('commit', type=str, help='git commit hash')
parser.add_argument('-r', '--refresh', action='store_true',
help='always fetch from server (do not use cache)')
parser.add_argument('-q', '--quiet', action='store_true',
help='do not print progress messages on stderr')
args = parser.parse_args()


if __name__ == '__main__':
out = changeset(args.commit, args.refresh, args.quiet, split=False)
out = changeset(args.commit, args.refresh, split=False)
if out:
print(out)
else:
Expand Down
2 changes: 1 addition & 1 deletion devel_doc/plan.vim
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function! s:propen()
if empty(l:hash)
return
endif
let l:out = systemlist("git changeset -q " . l:hash)
let l:out = systemlist("git changeset " . l:hash)
if empty(l:out)
echo "No changeset associated with this commit."
return
Expand Down

0 comments on commit 20f5d3f

Please sign in to comment.