-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Maybe change the default ARCHIVE_NAME of git-archive-file #1067
Comments
halostatue
changed the title
Change the default ARCHIVE_NAME of git-archive-file
Maybe change the default ARCHIVE_NAME of git-archive-file
Sep 11, 2023
This change looks good to me. Would you submit a PR to change it? Thanks! |
1 similar comment
This change looks good to me. Would you submit a PR to change it? Thanks! |
I didn't update the documentation for this one because the examples assumed running in the git root regardless. |
spacewander
pushed a commit
that referenced
this issue
Sep 13, 2023
Closes #1067 This makes the base ARCHIVE_NAME for `git-archive-file` to be the name of the repo root directory instead of the name of the current directory.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
$ARCHIVE_NAME
is set to$(basename $PWD)
, which feels weird:This feels like it should instead be set to
$(basename "$(git rev-parse --show-toplevel)")
.The text was updated successfully, but these errors were encountered: