From 18 Jan, 2021 0:00 UTC: All services will be temporary unavailable for maintenance
  • R/O
  • SSH

multi-project: Commit

Multi-project simplifies working with different projects in Emacs by providing support for creating, deleting, and searching with projects. Multi-project
supports interactively finding a file within a project by using a TAGS file.


Commit MetaInfo

Revision88e5e67fd58cfb6643f8ec28d3d432c3ba95afdd (tree)
Zeit2019-07-10 18:47:56
AutorShawn Ellis <shawn.ellis17@gmai...>
CommiterShawn Ellis

Log Message

Fixed a problem when mp-find-file was not able to determine the current project.

Ändern Zusammenfassung

Diff

diff -r 13bd84412236 -r 88e5e67fd58c multi-project.el
--- a/multi-project.el Sun Feb 17 15:04:28 2019 -0600
+++ b/multi-project.el Wed Jul 10 06:47:56 2019 -0300
@@ -3,7 +3,7 @@
33 ;; Copyright (C) 2010 - 2019
44
55 ;; Author: Shawn Ellis <shawn.ellis17@gmail.com>
6-;; Version: 0.0.30
6+;; Version: 0.0.32
77 ;; Package-Requires: ((emacs "25"))
88 ;; URL: https://bitbucket.org/ellisvelo/multi-project/overview
99 ;; Keywords: convenience project management
@@ -468,9 +468,9 @@
468468 (setq solutionlist (multi-project-find-by-name project))
469469 (setq solutionlist (multi-project-find-by-directory)))
470470
471- (setq multi-project-current-name (car solutionlist))
471+ (when solutionlist
472+ (setq multi-project-current-name (car solutionlist))
472473
473- (if solutionlist
474474 (let ((filename (nth 3 solutionlist)))
475475 (if filename
476476 (setq filename (expand-file-name filename)))
@@ -1129,8 +1129,7 @@
11291129
11301130 ((file-exists-p (concat local-project-directory "/.git"))
11311131 (setq files-command
1132- (concat "git log --pretty=format: --name-only "
1133- "--diff-filter=A | sort - | grep -v '^$'")))
1132+ "git ls-tree --full-tree -r --name-only HEAD "))
11341133
11351134 ((file-exists-p (concat local-project-directory "/build.gradle"))
11361135 (setq files-command (concat "cd " local-project-directory "; "
Show on old repository browser