Permalink
Browse files

fix for staging of files like: something with spaces.launch

  • Loading branch information...
1 parent 6ae4856 commit 0c6a7ffb8f5b4b5b41d3d96fbc1e884e381edb32 @gizmomogwai gizmomogwai committed Feb 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 egg.el
View
2 egg.el
@@ -2487,7 +2487,7 @@ rebase session."
(defun egg-status-buffer-stage-untracked-file ()
(interactive)
- (let ((file (ffap-file-at-point)))
+ (let ((file (buffer-substring-no-properties (line-beginning-position) (line-end-position))))
(when (egg-sync-do-file file egg-git-command nil nil
(list "add" "--" file))
(message "new file %s added" file))))

0 comments on commit 0c6a7ff

Please sign in to comment.