mbox series

[v3,0/1] worktree add: sanitize worktree names

Message ID 20190226105851.32273-1-pclouds@gmail.com (mailing list archive)
Headers show
Series worktree add: sanitize worktree names | expand

Message

Duy Nguyen Feb. 26, 2019, 10:58 a.m. UTC
v3 is rewritten to use refname_disposition[] to cover all invalid
chars.

Nguyễn Thái Ngọc Duy (1):
  worktree add: sanitize worktree names

 builtin/worktree.c      | 37 ++++++++++++++++++++++++++++++++++++-
 refs.c                  |  6 ++++++
 refs.h                  |  1 +
 t/t2025-worktree-add.sh |  7 +++++++
 4 files changed, 50 insertions(+), 1 deletion(-)