Skip to content

Commit aa102c9

Browse files
authored
fix: remove errata from string literal (#1403)
This change replaces tabs inside of a raw string literal used as a patch for the shell completion files with spaces, and removes a trailing space. This fixes an issue where regeneration of the file would lead to a diff. Change-Id: I3469a859ed63fe4ef9b8b6f156ff0ce5cb7af91c
1 parent 3e5f4ee commit aa102c9

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

misc/completion/bash/git-bug

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -352,11 +352,11 @@ _git_bug() {
352352
__git-bug_init_completion -n "=:" || return
353353
fi
354354

355-
# START PATCH
356-
# replace in the array ("git","bug", ...) to ("git-bug", ...) and adjust the index in cword
355+
# START PATCH
356+
# replace in the array ("git","bug", ...) to ("git-bug", ...) and adjust the index in cword
357357
words=("git-bug" "${words[@]:2}")
358358
cword=$(($cword-1))
359-
# END PATCH
359+
# END PATCH
360360

361361
__git-bug_debug
362362
__git-bug_debug "========= starting completion logic =========="

misc/completion/generate.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@ _git_bug() {
6666
__git-bug_init_completion -n "=:" || return
6767
fi
6868
69-
# START PATCH
70-
# replace in the array ("git","bug", ...) to ("git-bug", ...) and adjust the index in cword
69+
# START PATCH
70+
# replace in the array ("git","bug", ...) to ("git-bug", ...) and adjust the index in cword
7171
words=("git-bug" "${words[@]:2}")
7272
cword=$(($cword-1))
73-
# END PATCH
73+
# END PATCH
7474
7575
__git-bug_debug
7676
__git-bug_debug "========= starting completion logic =========="

0 commit comments

Comments
 (0)