Ramkumar Ramachandra
9813ac8859
Replace save-excursion, set-buffer with with-current-buffer
...
When byte-compiling magit.el, Emacs throws several warnings saying
`save-excursion' defeated by `set-buffer'. Eliminate these warnings by
replacing calls to save-excursion followed by set-buffer with
with-current-buffer.
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
2010-05-30 15:58:15 +01:00
Ramkumar Ramachandra
c33f87fe71
Replace goto-line
...
Replace goto-line with a more suitable combination of goto-char and
forward-line.
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
2010-05-30 15:58:12 +01:00
Moritz Bunkus
dc8cc4cb95
Forward port server-running-p' from Emacs 23 as
magit-server-running-p' for Emacs < 22 and calls `server-running-p' on >= 23.
2010-05-29 13:24:56 +01:00
Rémi Vanicat
19cb16c32d
Remove decency on parse-time.
2010-05-26 21:41:59 +01:00
Phil Jackson
87e196ed10
Highlight the sha1 at the top of a diff buffer.
2010-05-26 18:50:08 +01:00
Rémi Vanicat
7d4c2f6fc8
In magit-insert-section, do not presume that CMD is git
...
Removing the magit-git-standard-options from magit-insert-section
because:
- the only use of magit-insert-section is inside magit-git-section
that already add the magit-git-standard-options, we do not need to add
them twice
- as wrote, magit-insert-section could be used for calling any cmd,
that may not understand the option in magit-git-standard-options.
2010-05-26 18:45:03 +01:00
Phil Jackson
0f628c37ce
Merge remote branch 'refs/remotes/vanicat/t/multi-buffer'
2010-05-26 18:22:36 +01:00
Rémi Vanicat
ab90bdf159
[magit-status] Use generate-new-buffer for creating a new buffer
...
Closes #13 : We used to use get-buffer-create, but it will reuse a
buffer with the same name, when we want to create a new one with an
unique name.
2010-05-26 17:15:50 +02:00
Rémi Vanicat
0bb2e4c86f
Removing a duplicate switch-to-buffer
...
We don't need to change buffer twice when we use a new buffer
2010-05-26 17:09:35 +02:00
Oscar Fuentes
cb49072477
Fixed magit-move-branch
2010-05-24 04:35:29 +02:00
Phil Jackson
3bdaf275db
Added Mark Hepburn to the contributors list.
2010-05-21 09:45:02 +01:00
Mark Hepburn
98d87b1288
magit-interactive-rebase: use locate-file and exec-path to find emacsclient, instead of hard-coding to exec-directory
2010-05-21 09:45:00 +01:00
Phil Jackson
017828d250
Nicer colours for the tag indicators.
2010-05-20 00:22:14 +01:00
Phil Jackson
b0b65a2434
Nicer colours for the bisect refs.
2010-05-20 00:15:14 +01:00
Phil Jackson
9878186262
Log buffer knows about tagging again.
...
Closes #5 .
2010-05-19 23:23:25 +01:00
Phil Jackson
dc9c1178fd
`magit-tag' now knows about revisions.
2010-05-19 23:22:03 +01:00
Phil Jackson
0241232622
Added a couple of faces for good/bad bisect refs.
2010-05-19 22:58:57 +01:00
Oscar Fuentes
2d115df020
Displays the option name instead of the description
2010-05-19 18:10:31 +02:00
Oscar Fuentes
7e8819dbf2
Use all available columns on window for displaying menu items
2010-05-19 03:39:34 +02:00
Oscar Fuentes
fc62c664fd
Highlight active options on menu.
2010-05-18 21:52:01 +02:00
Oscar Fuentes
ad5829a2f4
Fixed usage of magit-custom-options on some commands
...
It is not good to have magit-custom-options when it is nil into the
middle of the list of arguments.
2010-05-18 19:50:19 +02:00
Oscar Fuentes
57fa9eb0fd
Corrected docstring of magit-custom-options
2010-05-18 19:25:23 +02:00
Oscar Fuentes
029bf08ea8
Append colon and space to the end of prompt
2010-05-18 19:09:08 +02:00
Oscar Fuentes
92c0b771ed
Removed some keybindings and collapsed some menu entries
2010-05-18 19:06:45 +02:00
Oscar Fuentes
ae4e4c5ac2
Added some log options, just for fun. Removed log-grep command
2010-05-18 18:30:23 +02:00
Oscar Fuentes
da70669be0
Do not use use shell-quote-argument for options picked on the menu
...
This upsets msys-git and it is not needed anymore because git is not
invoked through the shell.
2010-05-18 18:28:48 +02:00
Phil Jackson
420c976f85
Closes #4 . Added some bindings for commit-mode.
2010-05-18 10:34:57 +01:00
oscar
bf7bc1a0c5
magit-menu-make-option-list rewritten
...
The previous implementation generated a single list element for
arguments of the type --arg value. That should be separate list
elements, otherwise the process sees it as a single argument with an
embedded space.
2010-05-18 03:56:45 +02:00
oscar
b2c0fcb7b8
Several branch-related commands and options
2010-05-17 21:43:57 +02:00
oscar
9c63409cc1
Filters commands and options by group
2010-05-17 21:43:20 +02:00
oscar
fe1f6016f0
Code moved to a place where it makes more sense
...
Also magit-submenu was renamed to magit-menu.
2010-05-17 20:20:39 +02:00
Ævar Arnfjörð Bjarmason
9240447417
Add bit about history + Marius + Philip back in
...
On request of Philip Jackson in
<87aaryio1g.wl%phil@shellarchive.co.uk>.
2010-05-18 00:17:30 +08:00
Ævar Arnfjörð Bjarmason
1470f05cff
Not "and" at the beginning of a sentence + better sh example
...
Remove the $ so that it's possible to copy/paste this directly to a
shell.
2010-05-18 00:17:30 +08:00
Ævar Arnfjörð Bjarmason
ed6d791c61
Make magit's README file better
...
* Rewrite the intro, the old one wasn't really applicable anymore.
* Use Markdown to its fullest, the old links were really confusing.
* More links, link prominently to the manual, screencast and
cheatsheet.
2010-05-18 00:17:30 +08:00
Ævar Arnfjörð Bjarmason
35dfceb3b5
Add a hook for magit-log-edit-mode
2010-05-17 22:51:08 +08:00
Ævar Arnfjörð Bjarmason
50ac04d222
Give magit-mode-hook a docstring
2010-05-17 22:51:08 +08:00
Ævar Arnfjörð Bjarmason
d2d1bd87fd
Say "New annotated tag name" not "New tag name" on T
...
This distinguishes t from T. Sometimes you press one and aren't sure
if you got it right.
2010-05-17 22:49:55 +08:00
oscar
626af3b9c1
Fix showing help
...
Now it exits after showing the help window because the user can't
interact with it while the menu is working and on some cases the help
buffer uses the same window as the menu, hidding it.
2010-05-16 20:18:31 +02:00
oscar
903e642bf6
Pass options to log commands
2010-05-16 20:10:03 +02:00
oscar
abc459911b
Removed extra parentheses
2010-05-16 19:12:03 +02:00
oscar
2f9c9b99fb
Do not require the -option suffix for menu items
2010-05-16 18:43:33 +02:00
oscar
46592b4dcd
Display and input options
2010-05-16 18:36:10 +02:00
oscar
b7964bb4b4
Added some log commands
2010-05-16 16:32:11 +02:00
oscar
f028c76330
Key for showing the docstring of the associated function
2010-05-16 04:34:38 +02:00
oscar
0f03b076e7
Show two menu entries per line
2010-05-16 02:11:17 +02:00
oscar
9cd7d57ed1
Removed some debug code
2010-05-16 01:15:34 +02:00
oscar
c40dfe75e5
Pass prefix argument to command
2010-05-16 01:14:34 +02:00
oscar
09f09afd34
Works without supporting prefixes
2010-05-15 20:02:40 +02:00
Phil Jackson
aa33f2f6a7
Merge branch 'log--all'
2010-05-15 12:09:12 +01:00
Phil Jackson
0a9bf3005a
New function `magit-log-all' which provides --all functionality.
2010-05-14 11:57:07 +01:00