Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatal: -L invalid empty range #91

Open
midenok opened this issue Apr 18, 2019 · 0 comments
Open

fatal: -L invalid empty range #91

midenok opened this issue Apr 18, 2019 · 0 comments

Comments

@midenok
Copy link

midenok commented Apr 18, 2019

Reproduce

git deps HEAD^! -e 10.4 -c 0

Result

fatal: -L invalid empty range
Traceback (most recent call last):
  File "/usr/local/bin/git-deps", line 11, in <module>
    sys.exit(run())
  File "/usr/local/lib/python2.7/dist-packages/git_deps/cli.py", line 141, in run
    main(sys.argv[1:])
  File "/usr/local/lib/python2.7/dist-packages/git_deps/cli.py", line 135, in main
    cli(options, args)
  File "/usr/local/lib/python2.7/dist-packages/git_deps/cli.py", line 119, in cli
    detector.find_dependencies(rev)
  File "/usr/local/lib/python2.7/dist-packages/git_deps/detector.py", line 122, in find_dependencies
    self.find_dependencies_with_parent(dependent, parent)
  File "/usr/local/lib/python2.7/dist-packages/git_deps/detector.py", line 147, in find_dependencies_with_parent
    self.blame_hunk(dependent, parent, path, hunk)
  File "/usr/local/lib/python2.7/dist-packages/git_deps/detector.py", line 172, in blame_hunk
    blame = subprocess.check_output(cmd, universal_newlines=True)
  File "/usr/lib/python2.7/subprocess.py", line 223, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['git', 'blame', '--porcelain', '-L', '620,+0', 'a92663ea5341053f2645a7fd5beba802b67f5372', '--', 'mysql-test/suite/versioning/r/alter.result']' returned non-zero exit status 128
Status: 1

What is -L? I don't see it in --help.

Please, don't show stack traces to user. It is quite user-unfriendly!

Additional info

$ git remote get-url origin
[email protected]:tempesta-tech/mariadb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant