Skip to content

Conversation

SyntevoAlex
Copy link

@SyntevoAlex SyntevoAlex commented Mar 6, 2020

While debugging something else, I was quite puzzled to see that
prepare_shell_cmd() duplicates the command before sending to sh, like:
sh -c "git-upload-pack '../testrepo/.git'" "git-upload-pack '../testrepo/.git'"

A Windows programmer myself, initially I thought that it's a bug.

Add a clarifying comment.

Signed-off-by: Alexandr Miloslavskiy alexandr.miloslavskiy@syntevo.com

While debugging something else, I was quite puzzled to see that
`prepare_shell_cmd()` duplicates the command before sending to sh, like:
    sh -c "git-upload-pack '../testrepo/.git'" "git-upload-pack '../testrepo/.git'"

A Windows programmer myself, initially I thought that it's a bug.

Add a clarifying comment.

Signed-off-by: Alexandr Miloslavskiy <alexandr.miloslavskiy@syntevo.com>
@SyntevoAlex
Copy link
Author

/submit

@gitgitgadget
Copy link

gitgitgadget bot commented Mar 6, 2020

@SyntevoAlex
Copy link
Author

@dscho it seems that there is a bug in freebsd_12 check

@dscho
Copy link
Member

dscho commented Mar 6, 2020

Yep, it seems to be flaky.

@gitgitgadget
Copy link

gitgitgadget bot commented Mar 26, 2020

On the Git mailing list, Alexandr Miloslavskiy wrote (reply to this):

Reminder: the patch is still there :(

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