Commit graph

1120 commits

Author SHA1 Message Date
Phil Jackson
d9416db607 Added `magit-custom-options' back to display-log. 2010-12-01 16:18:22 +00:00
Leo
03bcfb0158 Ensure trailing slash for default-directory. 2010-12-01 10:08:16 +00:00
Rémi Vanicat
327f0af4f8 Submodule support.
magit-submodule-update:
  Update the submodule of the current git repository

magit-submodule-update-init:
  Update and init the submodule of the current git repository

magit-submodule-init:
  Initialize the submodules

magit-submodule-sync
  Synchronizes submodules' remote URL configurationDocs: F p to pull, not f f. Mention P p to push.
2010-11-29 19:29:07 +00:00
Phil Jackson
f01bf34f6a Docs: F p to pull, not f f. Mention P p to push. 2010-11-17 22:48:02 +00:00
Phil Jackson
d1ff370d97 Docs: r s stops, not starts a rebase.
fixes #85.
2010-11-17 22:41:29 +00:00
Phil Jackson
6a542409d9 Merge remote branch 'refs/remotes/shabble/master' 2010-11-17 22:35:45 +00:00
Marc Herbert
8e4d96bc69 Make git --graph option optional again in log washing.
The (newer) "magit-log-oneline-re" regular expression was requiring
--graph, making the (older) magit-configure-have-graph logic
irrelevant: it had to return "true". Making --graph optional again is
not just fixing support for old git clients but also opening some log
possibilities, like removing the spurious star or showing tags in the
status view.
2010-11-17 22:32:17 +00:00
Marc Herbert
f4c04af630 Fix display of Stacked Git refs ("patches/branch/patchname")
This fixes only the log view. It does not touch the status view but
would help there if wanted.
2010-11-17 22:28:37 +00:00
Tom Feist
16e0ffcd98 Add customizable predicate function to `save-some-buffers' to allow it to only
prompt to save modified buffers below the current git-top-dir.
2010-11-10 02:33:58 +00:00
Paul Stadig
a60da55f08 Preserve magit-diff-options when binding 2010-11-08 21:12:33 +08:00
Ramkumar Ramachandra
aa76cd957f log-edit-mode: Make "C-x C-s" a noop
Make "C-x C-s" a no-op in magit-log-edit-mode for convinience.

Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
2010-11-02 17:25:15 +00:00
Phil Jackson
ff2994c721 Docs, remove extraneous whitespace. 2010-11-02 17:24:47 +00:00
Ramkumar Ramachandra
d021ee342b Allow prefix to amend while committing
Amending a commit quite a common operation: Extend magit-log-edit to
accept prefix (C-u) to toggle amending.

Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
2010-11-02 17:09:21 +00:00
Phil Jackson
e461c39b92 Remove the merging functions from branch view for the time being (needs refactoring). 2010-11-02 16:50:57 +00:00
Phil Jackson
e5ae16c1d7 Fix syntax error. 2010-11-02 16:46:34 +00:00
Phil Jackson
59f577e020 Make sure display-log range command is optional. 2010-11-01 14:39:20 +00:00
Phil Jackson
80ee094c9c Reflog commands a bit more like the log commands now. 2010-11-01 14:28:52 +00:00
Phil Jackson
96f9a1e405 New ranged log command. 2010-11-01 14:25:20 +00:00
Phil Jackson
daa347bde9 New ranged long log command. 2010-11-01 13:49:23 +00:00
Phil Jackson
6404261327 Merge remote branch 'refs/remotes/rlb3/master' 2010-10-27 10:56:56 +01:00
Phil Jackson
bdccbb7c74 Merge remote branch 'refs/remotes/lindi/issue-20' 2010-10-27 10:53:31 +01:00
Robert Boone
3dacf2aea6 Add switch for fast-forward only merge: --ff-only 2010-10-25 10:19:14 -05:00
Phil Jackson
7f8f7de527 Stash now takes account of its key-group arguments. 2010-10-16 21:43:48 +01:00
Aaron Culich
62d3e95805 This bugfix gets rid of "File ... no longer exists!" errors in magit-revert-buffers
by checking to make sure that the file exists and is readable before trying to revert.
2010-10-12 16:46:19 +01:00
Phil Jackson
a4d3e536f1 Added `magit-svn-create-branch'. 2010-10-11 17:23:21 +01:00
Phil Jackson
7447930fb4 Make the key-mode plugin interface a little nicer to use. 2010-10-11 17:22:39 +01:00
Phil Jackson
b73d254816 Merge remote branch 'refs/remotes/avar/rebase-bugfixes' 2010-10-10 12:46:58 +01:00
Phil Jackson
66fae667ed More authors changed my 'job title'. 2010-10-09 14:25:31 +01:00
Aaron Culich
c95efe6aa2 Use condition-case to report bugs instead of just ignoring errors. 2010-10-09 05:05:18 -07:00
Aaron Culich
a662446c67 Merge branch 'master' of http://github.com/philjackson/magit
Conflicts:
	magit.el
2010-10-07 11:15:06 -07:00
Ævar Arnfjörð Bjarmason
26107dda6f magit-refresh-status: align messages for rebase message
"Rebasing:" was the longest message, but the status bar wasn't aligned
before, now this:

    Local:  (detached) ~/g/git/
    Head:   c6b2a51 gettextize: git-clone "Cloning into" message
    Rebasing: onto master (26 of 159); Press "R" to Abort, Skip, or Continue

Is aligned like this:

    Local:    (detached) ~/g/git/
    Head:     c6b2a51 gettextize: git-clone "Cloning into" message
    Rebasing: onto master (26 of 159); Press "R" to Abort, Skip, or Continue

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
2010-09-29 11:31:26 +00:00
Ævar Arnfjörð Bjarmason
19a8f263a0 rebase: add hint letters to "[A]bort, [S]kip, or [C]ontinue?" message
Now it'll ask you:

    Rebase in progress. [A]bort, [S]kip, or [C]ontinue?

The message didn't indicate how you made the selction before.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
2010-09-29 11:31:26 +00:00
Ævar Arnfjörð Bjarmason
aac348011e rebase: tell the user he can press R to proceed
"R" may actually not be "R" here, but I where-is-internal hurt my
brain, so I didn't use it.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
2010-09-29 11:31:26 +00:00
Ævar Arnfjörð Bjarmason
c7b54cb065 rebase: add the "onto" information back & reformat
The Head section already tells us what commit we're on. Now this looks
like this:

    Local:  (detached) ~/g/git/
    Head:   c6b2a51 gettextize: git-clone "Cloning into" message
    Rebasing: onto master (26 of 159)

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
2010-09-29 11:31:26 +00:00
Ævar Arnfjörð Bjarmason
961d80dbf0 magit-rebase-info: solve the 'The "R" rebase method needs a small fix' issue
Fix the bug in magit-rebase-info that I introduced in 81bb2ba. Here's
the description of the bug from a message of mine to the mailing list:

    I sent an incomplete fix for the "R" rebase method recently:

       http://github.com/philjackson/magit/pull/59

    But Phil pulled it in as-is:

       81bb2ba2d3

    Anyway, it needs a small fixup, this:

       (length (magit-file-lines ".git/rebase-merge/git-rebase-todo.backup"))

    Will be way off, because it'll count the (length) of lines like:

       ("pick cb925f0 check message..." "pick 2f811b6 take done length"
    "pick 29332e6 use backup" "" "# Rebase 19e2dd7..29332e6 onto 19e2dd7"
    "#" ...

    What it should do instead so we can get the correct count is to only
    count up until the "" (uninclusive) so the above example would return
    3.

    I couldn't find an idiomatic way of doing this in elisp, I could with
    the (loop) macro, but that'd require cl.el.

As it turns out magit already needs cl.el, so I can just use (loop) to
fix this.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
2010-09-29 11:31:26 +00:00
Philip Weaver
65e328c5a8 in Makefile, fix the way we set emacs load-path
When using the native Windows emacs build (not a cygwin build), but a cygwin
build of 'make', then make fails because we send unix-style paths using CURDIR
to emacs.  If instead we use (expand-file-name "."), then emacs does the magic
for us.

I looked around and found that org-mode's Makefile does exactly this.  It seems
like the right thing to do.
2010-09-29 02:40:11 -07:00
Phil Jackson
8152961d36 Added the ability to push tags. 2010-09-28 17:00:56 +01:00
Phil Jackson
8d94579f8b Make builtin completing read default again.
After a couple of requests for this.
2010-09-25 16:53:26 +01:00
Hannu Koivisto
814ba6c715 Fix magit-completing-read prompting.
Prompts are now fed to magit-completing-read in a form that makes them look
ok if magit-completing-read-function is set directly to completing-read or
a compatible function instead of a Magit-specific wrapper.
2010-09-25 11:33:40 +01:00
Phil Jackson
05f015a69b Merge branch 'master' of github.com:philjackson/magit 2010-09-24 22:23:00 +01:00
Hannu Koivisto
54745433e2 Smarter prompting for magit-rebase-step start
Use the tracked branch as the default, if available.
Don't offer the current branch as a new base.
2010-09-24 09:36:12 +01:00
Hannu Koivisto
50156dedc1 magit-read-rev: add mechanism to mask uninteresting refs 2010-09-24 09:36:12 +01:00
Hannu Koivisto
adce2cbfc3 Smarter prompting for magit-checkout
Don't offer the current branch as a choice.
2010-09-24 09:36:12 +01:00
Hannu Koivisto
c6585d534d iswitchb-based completing-read alternative for rev-reading etc. 2010-09-24 09:36:12 +01:00
Phil Jackson
96ba81887f Fix --committer option. 2010-09-23 16:45:25 +01:00
Phil Jackson
2123b72ec5 Added fetch-other and removed useless fetch option. 2010-09-22 14:55:14 +01:00
Phil Jackson
34025078c5 Remove extraneous whitespace. 2010-09-21 10:24:51 +01:00
Aaron Culich
36ace412b6 Make magit-run* look in the magit-process-buffer for a useful error
string when reporting an error, and fall back on the less helpful "Git
failed" message only if no error message could be found in the buffer.
2010-09-21 10:24:51 +01:00
Aaron Culich
17753d31fd added myself as a contributor. 2010-09-21 10:24:51 +01:00
Aaron Culich
d8d831c187 since there is no else clause, we can turn the if statement into a
when and get rid of the progn.
2010-09-21 10:24:51 +01:00