chiark
/
gitweb
/
~mdw
/
stgit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98d6e2c
)
Get rid of an unused variable
author
Chuck Lever
<cel@netapp.com>
Wed, 26 Oct 2005 18:51:41 +0000
(14:51 -0400)
committer
Catalin 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
patch
|
blob
|
blame
|
history
diff --git
a/stgit/git.py
b/stgit/git.py
index 33702cbc27ef0529526a06962e7277e01fb20299..69b1d33d5a71f8be85721fadaa972b9d336a4427 100644
(file)
--- a/
stgit/git.py
+++ b/
stgit/git.py
@@
-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):