[PATCH 2/5] git-completion.bash: add diff.submodule to config list

2013-04-29 Thread Ramkumar Ramachandra
c47ef57 (diff: introduce diff.submodule configuration variable,
2012-11-13) introduced the diff.submodule configuration variable, but
forgot to teach git-completion.bash about it.  Fix this.

Signed-off-by: Ramkumar Ramachandra artag...@gmail.com
---
 contrib/completion/git-completion.bash | 5 +
 1 file changed, 5 insertions(+)

diff --git a/contrib/completion/git-completion.bash 
b/contrib/completion/git-completion.bash
index 61ccb19..ba46cd9 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1857,6 +1857,10 @@ _git_config ()

return
;;
+   diff.submodule)
+   __gitcomp log short
+   return
+   ;;
help.format)
__gitcomp man info web html
return
@@ -2058,6 +2062,7 @@ _git_config ()
diff.renameLimit
diff.renames
diff.statGraphWidth
+   diff.submodule
diff.suppressBlankEmpty
diff.tool
diff.wordRegex
-- 
1.8.2.1.616.ga1e5536.dirty

--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH 2/5] git-completion.bash: add diff.submodule to config list

2013-04-21 Thread Ramkumar Ramachandra
c47ef57 (diff: introduce diff.submodule configuration variable,
2012-11-13) introduced the diff.submodule configuration variable, but
forgot to teach git-completion.bash about it.  Fix this.

Signed-off-by: Ramkumar Ramachandra artag...@gmail.com
---
 contrib/completion/git-completion.bash | 5 +
 1 file changed, 5 insertions(+)

diff --git a/contrib/completion/git-completion.bash 
b/contrib/completion/git-completion.bash
index 6bfb9ad..f799dc8 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1864,6 +1864,10 @@ _git_config ()

return
;;
+   diff.submodule)
+   __gitcomp log short
+   return
+   ;;
help.format)
__gitcomp man info web html
return
@@ -2065,6 +2069,7 @@ _git_config ()
diff.renameLimit
diff.renames
diff.statGraphWidth
+   diff.submodule
diff.suppressBlankEmpty
diff.tool
diff.wordRegex
-- 
1.8.2.1.501.gd2949c7

--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html