chiark / gitweb /
stgit.el: Rename stgit-expand-find-copies-harder to stgit-find-copies-harder
authorGustav Hållberg <gustav@virtutech.com>
Sat, 1 Aug 2009 17:59:31 +0000 (19:59 +0200)
committerGustav Hållberg <gustav@virtutech.com>
Thu, 6 Aug 2009 20:49:07 +0000 (22:49 +0200)
Signed-off-by: Gustav Hållberg <gustav@virtutech.com>
contrib/stgit.el

index 99f92037a882763bbe473a374f06b2e426dea99a..7701edf471f17ea998fc367047eaaf5b9823cca7 100644 (file)
@@ -337,7 +337,7 @@ (defface stgit-index-work-tree-title-face
   :group 'stgit)
 
 
-(defcustom stgit-expand-find-copies-harder
+(defcustom stgit-find-copies-harder
   nil
   "Try harder to find copied files when listing patches.
 
@@ -482,10 +482,8 @@ (defun stgit-file-pp (file)
 
 (defun stgit-find-copies-harder-diff-arg ()
   "Return the flag to use with `git-diff' depending on the
-`stgit-expand-find-copies-harder' flag."
-  (if stgit-expand-find-copies-harder
-      "--find-copies-harder"
-    "-C"))
+`stgit-find-copies-harder' flag."
+  (if stgit-find-copies-harder "--find-copies-harder" "-C"))
 
 (defun stgit-insert-ls-files (args file-flag)
   (let ((start (point)))