Repository navigation
Commit 5882be2
committed
fix(hook-augment): bail on rtk grep -l per maintainer requirement
rtk grep adds its own -l <N> that shadows grep's valueless -l, making
the pattern position ambiguous. Fail closed instead of guessing.
Removes l from the rtk_grep val_flags string and adds an explicit
return false when rtk && bin == HA_BIN_GREP && flag == 'l'.
Test flipped from ASSERT_TRUE to ASSERT_FALSE.
Signed-off-by: Jake Abendroth <contact@jakea.net>1 parent eb12d6d commit 5882be2
2 files changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1086 | 1086 | | |
1087 | 1087 | | |
1088 | 1088 | | |
1089 | | - | |
| 1089 | + | |
1090 | 1090 | | |
1091 | 1091 | | |
1092 | 1092 | | |
| |||
1196 | 1196 | | |
1197 | 1197 | | |
1198 | 1198 | | |
| 1199 | + | |
| 1200 | + | |
1199 | 1201 | | |
1200 | 1202 | | |
1201 | 1203 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8833 | 8833 | | |
8834 | 8834 | | |
8835 | 8835 | | |
8836 | | - | |
8837 | | - | |
| 8836 | + | |
| 8837 | + | |
8838 | 8838 | | |
8839 | | - | |
8840 | 8839 | | |
8841 | 8840 | | |
8842 | 8841 | | |
| |||
0 commit comments