Browse Source

Make git grep always -n in .gitconfig.

Evan Green 8 years ago
parent
commit
51ee519fb3
1 changed files with 3 additions and 0 deletions
  1. 3 0
      .gitconfig

+ 3 - 0
.gitconfig

@@ -12,3 +12,6 @@
 
 [diff "cpp"]
 	xfuncname = "!^[ \t]*[A-Za-z_][A-Za-z_0-9]*:[[:space:]]*($|/[/*])\n!:$\n^((::[[:space:]]*)?[A-Za-z_].*)$"
+
+[grep]
+	linenumber = true