"Copies the workspace state of FILE to index, using git add or git rm"
(let ((op (if (file-exists-p file) "add" "rm")))
(stgit-capture-output "*git output*"
(stgit-run-git op "--" file))))
"Copies the workspace state of FILE to index, using git add or git rm"
(let ((op (if (file-exists-p file) "add" "rm")))
(stgit-capture-output "*git output*"
(stgit-run-git op "--" file))))