Skip to content

request-pull: protect against OPTIONS_KEEPDASHDASH from environment

Jonathan Nieder git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tests for request-pullt/t5150-request-pull.sh+214 -01 reply
2/2request-pull: protect against OPTIONS_KEEPDASHDASH from environmentcontrib/git-resurrect.sh git-request-pull.sh t/t5150-request-pull.sh+16 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] request-pull: protect against OPTIONS_KEEPDASHDASH from environment

Hi,

At last, the mysterious t7400 test failure has been solved, thanks to Gerrit Pape. It was caused by an assumption in git that a certain variable not in its namespace would not be set.

Here’s a problem of the same kind, though harder to trip. I can’t imagine why anyone would be exporting the OPTIONS_KEEPDASHDASH variable, but it is not in git’s namespace so it seems better not to make any assumptions.

Jonathan Nieder (2):
tests for request-pull
request-pull: protect against OPTIONS_KEEPDASHDASH from environment

 contrib/git-resurrect.sh |    1 +
 git-request-pull.sh      |    1 +
 t/t5150-request-pull.sh  |  228 ++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 230 insertions(+), 0 deletions(-)
 create mode 100644 t/t5150-request-pull.sh