Skip to content

Conversation

@mcepl
Copy link
Contributor

@mcepl mcepl commented Nov 18, 2024

I would like to contribute this script to the git proper (unless you want to do it yourself), because it is nice to share, but for that to happen, the script must be ported to the POSIX shell (plus tests, man page, etc. must be added). This is my effort, any review would be welcome.

@mcepl mcepl marked this pull request as draft November 18, 2024 19:46
Copy link
Owner

@keis keis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, do feel free to suggest it for git inclusion. Tests, man pages, and porting to posix is all things I would be happy to accept for this standalone script too.

#74 looks like a good change to land first.

@mcepl
Copy link
Contributor Author

mcepl commented Nov 19, 2024 via email

@mcepl
Copy link
Contributor Author

mcepl commented Nov 19, 2024

#74 looks like a good change to land first.

Absolutely!

@mcepl mcepl force-pushed the posix branch 7 times, most recently from ed42294 to 11301c0 Compare November 21, 2024 17:19
keis and others added 4 commits November 27, 2024 23:55
And a snippet to Makefile to generate HTML and manpage.
The tests won't work outside of the git tree. Perhaps, I should
just rewrite it to plain shell script. Should I?
export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME

TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found this https://github.com/felipec/sharness

Replacing test-lib with sharness I'm able to run this test

@mcepl
Copy link
Contributor Author

mcepl commented Dec 1, 2024 via email

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

Successfully merging this pull request may close these issues.

2 participants