Commit graph

1107 commits

Author SHA1 Message Date
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
Aaron Culich
2a2a533b09 remove accidental duplicate line 2010-09-21 10:24:51 +01:00
Aaron Culich
feeb8cd46c like checkout, create-branch should also query if the user wants to
save buffers and also update the modeline when the branch has been
switched.
2010-09-21 10:24:51 +01:00
Aaron Culich
05c3e6fd10 Checkout should ask to save some buffers if magit-save-some-buffers is
non-nil. And since this functionality is now used in three places I
also created a helper function to do it.
2010-09-21 10:24:51 +01:00
Aaron Culich
4478bbb11b make checkout update modeline 2010-09-21 10:24:51 +01:00
Aaron Culich
8cd4331894 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-20 22:01:28 -07:00
Aaron Culich
5629766d48 added myself as a contributor. 2010-09-20 21:12:05 -07:00
Aaron Culich
504645ac1a since there is no else clause, we can turn the if statement into a
when and get rid of the progn.
2010-09-20 21:03:59 -07:00
Aaron Culich
a3d4529e23 remove accidental duplicate line 2010-09-20 21:02:12 -07:00
Aaron Culich
ecb04e7e95 like checkout, create-branch should also query if the user wants to
save buffers and also update the modeline when the branch has been
switched.
2010-09-20 20:56:26 -07:00
Aaron Culich
7cec299029 Checkout should ask to save some buffers if magit-save-some-buffers is
non-nil. And since this functionality is now used in three places I
also created a helper function to do it.
2010-09-20 20:46:41 -07:00
Aaron Culich
dd44a02e93 make checkout update modeline 2010-09-20 20:06:31 -07:00
Phil Jackson
7aafcb0acf Remove conflicting binding. 2010-09-20 19:46:16 +01:00
Phil Jackson
6465329342 Keep cursor where it was after executing a command with RET. 2010-09-20 19:46:16 +01:00