Get rid of an unused variable
authorChuck Lever <cel@netapp.com>
Wed, 26 Oct 2005 18:51:41 +0000 (14:51 -0400)
committerCatalin Marinas <catalin.marinas@gmail.com>
Thu, 27 Oct 2005 19:47:12 +0000 (20:47 +0100)
"git_opt" is unused in the rm() function.

Signed-off-by: Chuck Lever <cel@netapp.com>
stgit/git.py

index 33702cb..69b1d33 100644 (file)
@@ -361,11 +361,6 @@ def add(names):
 def rm(files, force = False):
     """Remove a file from the repository
     """
-    if force:
-        git_opt = '--force-remove'
-    else:
-        git_opt = '--remove'
-
     if not force:
         for f in files:
             if os.path.exists(f):