]> git.madduck.net Git - etc/vim.git/commit

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Remove useless shebangs in non-executable files (#2161)
authorMiro Hrončok <miro@hroncok.cz>
Wed, 28 Apr 2021 14:07:15 +0000 (16:07 +0200)
committerGitHub <noreply@github.com>
Wed, 28 Apr 2021 14:07:15 +0000 (07:07 -0700)
commit89a856d742d31054bc31a6ff7ffc6ad2d24377d5
treefe9d1b4e4288e4a9dedefb0219e94c46f83fa326
parent04fd4432f6c6007e419d7174930569a75ea60fed
Remove useless shebangs in non-executable files (#2161)

Such shebangs are only ever used if the file is executed directly, i.e.:

    $ /usr/lib/python3.9/site-packages/black_primer/cli.py

But that doesn't work:

    $ /usr/lib/python3.9/site-packages/black_primer/cli.py
    bash: /usr/lib/python3.9/site-packages/black_primer/cli.py: Permission denied

The lib file even has: "lib is a library, funnily enough"
src/black_primer/cli.py
src/black_primer/lib.py