git-mailrc: Replace tabs with spaces in alias entries
PATCH 1/2 git-mailrc: Replace tabs with spaces in alias entries
patman's _ReadAliasFile only splits on spaces, not tabs, so the entries for dinh and maxime weren't being recognised as valid. I'll fix patman in a separate patch, but this makes all the entries consistent.
---
doc/git-mailrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
doc/git-mailrc +2 -2
@@ -20,7 +20,7 @@ alias alisonwang Alison Wang <[email protected]> alias angelo_ts Angelo Dureghello <[email protected]> alias bmeng Bin Meng <[email protected]> alias danielschwierzeck Daniel Schwierzeck <[email protected]> -alias dinh Dinh Nguyen <[email protected]> +alias dinh Dinh Nguyen <[email protected]> alias hs Heiko Schocher <[email protected]> alias iwamatsu Nobuhiro Iwamatsu <[email protected]> alias jaehoon Jaehoon Chung <[email protected]>
@@ -33,7 +33,7 @@ alias marex Marek Vasut <[email protected]> alias mariosix Mario Six <[email protected]> alias masahiro Masahiro Yamada <[email protected]> alias mateusz Mateusz Kulikowski <[email protected]> -alias maxime Maxime Ripard <[email protected]> +alias maxime Maxime Ripard <[email protected]> alias monstr Michal Simek <[email protected]> alias prafulla Prafulla Wadaskar <[email protected]> alias prom Minkyu Kang <[email protected]>
Signature · 1 line
2.18.0
PATCH 2/2 patman: Split alias entries on arbitrary whitespace
Previously the first three words in a git-mailrc alias entry could only be separated by spaces. git-send-email and Mutt both allow arbitrary whitespace here.
---
tools/patman/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/patman/settings.py +1 -1
@@ -263,7 +263,7 @@ def _ReadAliasFile(fname): line = line.strip() if not line or line.startswith('#'): continue - words = line.split(' ', 2) + words = line.split(None, 2) if len(words) < 3 or words[0] != 'alias': if not bad_line: bad_line = "%s:%d:Invalid line '%s'" % (fname, linenum,
Signature · 1 line
2.18.0
PATCH 2/2 patman: Split alias entries on arbitrary whitespace
Quoted 9 lines · Adam Sampson
Previously the first three words in a git-mailrc alias entry could only be separated by spaces. git-send-email and Mutt both allow arbitrary whitespace here.
Signed-off-by Adam Sampson <[email protected]>---
tools/patman/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
PATCH 2/2 patman: Split alias entries on arbitrary whitespace
Quoted 5 lines · Simon Glass
Quoted 4 lines · Adam Sampson
Previously the first three words in a git-mailrc alias entry could only be separated by spaces. git-send-email and Mutt both allow arbitrary whitespace here.
Quoted 7 lines
Quoted 5 lines
Signed-off-by Adam Sampson <[email protected]>---
tools/patman/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Reviewed-by Simon Glass <[email protected]>
Applied to u-boot-dm, thanks!
PATCH 1/2 git-mailrc: Replace tabs with spaces in alias entries
In reply to Adam SampsonQuoted 9 lines · Adam Sampson
patman's
_ReadAliasFileonly splits on spaces, not tabs, so the entries for dinh and maxime weren't being recognised as valid. I'll fix patman in a separate patch, but this makes all the entries consistent.Signed-off-by Adam Sampson <[email protected]>---
doc/git-mailrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
PATCH 1/2 git-mailrc: Replace tabs with spaces in alias entries
Quoted 5 lines · Simon Glass
Quoted 4 lines · Adam Sampson
patman's
_ReadAliasFileonly splits on spaces, not tabs, so the entries for dinh and maxime weren't being recognised as valid. I'll fix patman in a separate patch, but this makes all the entries consistent.
Quoted 7 lines
Quoted 5 lines
Signed-off-by Adam Sampson <[email protected]>---
doc/git-mailrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)Reviewed-by Simon Glass <[email protected]>
Applied to u-boot-dm, thanks!