Skip to content

Commit eddd134

Browse files
rjustogitster
authored andcommitted
advice: fix an unexpected leading space
This space was introduced, presumably unintentionally, in b3b18d1 (advice: revamp advise API, 2020-03-02) I notice this space due to confuse diff outputs while doing some changes to enum advice_type. As a reference, a recent change we have to that enum is: $ git show 35f0383 ... diff --git a/advice.h b/advice.h index 0f58416..2affbe1 100644 --- a/advice.h +++ b/advice.h @@ -49,6 +49,7 @@ struct string_list; ADVICE_UPDATE_SPARSE_PATH, ADVICE_WAITING_FOR_EDITOR, ADVICE_SKIPPED_CHERRY_PICKS, + ADVICE_WORKTREE_ADD_ORPHAN, }; Note the hunk header, instead of a much more expected: @@ -49,6 +49,7 @@ enum advice_type Signed-off-by: Rubén Justo <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 3196029 commit eddd134

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

advice.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ struct string_list;
1010
* Add the new config variable to Documentation/config/advice.txt.
1111
* Call advise_if_enabled to print your advice.
1212
*/
13-
enum advice_type {
13+
enum advice_type {
1414
ADVICE_ADD_EMBEDDED_REPO,
1515
ADVICE_ADD_EMPTY_PATHSPEC,
1616
ADVICE_ADD_IGNORED_FILE,

0 commit comments

Comments
 (0)