FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
GitPython/test/fixtures/polyglot at main · gitpython-developers/GitPython · GitHub
gitpython-developers
GitPython
Repository navigation
Code
Issues
7
(7)
Pull requests
2
(2)
Discussions
Actions
Security and quality
41
(41)
Insights
Expand file tree
Breadcrumbs
GitPython
/
test
/
fixtures
/
polyglot
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
8 lines (8 loc) · 238 Bytes
Breadcrumbs
GitPython
/
test
/
fixtures
/
polyglot
Copy path
File metadata and controls
executable file
·
8 lines (8 loc) · 238 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
#!
/usr/bin/env sh
#
Valid script in both Bash and Python, but with different behavior.
"
"
"
:
"
echo
'
Ran intended hook.
'
>
output.txt
exit
"
"
"
"
from pathlib import Path
Path(
'
payload.txt
'
).write_text(
'
Ran impostor hook!
'
, encoding=
'
utf-8
'
)
Back
|
FazBrowse Home
|
New Git URL