Merge branch 'es/format-patch-interdiff' into es/format-patch-rangediff
[gitweb.git] / contrib / completion / git-completion.bash
index 94c95516ebec7f32787cc5a2fb45cae83c7e28e3..d63d2dffd4e12186e734adb0cc2ae7c1db7a6374 100644 (file)
@@ -1976,6 +1976,20 @@ _git_push ()
        __git_complete_remote_or_refspec
 }
 
+_git_range_diff ()
+{
+       case "$cur" in
+       --*)
+               __gitcomp "
+                       --creation-factor= --no-dual-color
+                       $__git_diff_common_options
+               "
+               return
+               ;;
+       esac
+       __git_complete_revlist
+}
+
 _git_rebase ()
 {
        __git_find_repo_path