summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3a04832)
raw | patch | inline | side by side (parent: 3a04832)
author | Junio C Hamano <gitster@pobox.com> | |
Tue, 21 Apr 2009 23:32:18 +0000 (16:32 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 21 Apr 2009 23:33:20 +0000 (16:33 -0700) |
This reverts commit 19de5d6913b9681d2bde533bccc8445c9236a648.
It produces a misleading output to decide if a merge can fast-forward.
It produces a misleading output to decide if a merge can fast-forward.
Documentation/RelNotes-1.6.3.txt | patch | blob | history | |
remote.c | patch | blob | history |
index b53e7b86e73a6a3c6e86e8290d08714c58d36fe2..efce29ddf3f8191472acd2426275d54db1d3f68e 100644 (file)
with the 'edit' action in git-add -i/-p, you can abort the editor to
tell git not to apply it.
-* The number of commits shown in "you are ahead/behind your upstream"
- messages given by "git checkout" and "git status" used to count merge
- commits; now it doesn't.
-
* @{-1} is a new way to refer to the last branch you were on introduced in
1.6.2, but the initial implementation did not teach this to a few
commands. Now the syntax works with "branch -m @{-1} newname".
diff --git a/remote.c b/remote.c
index 41c5b59736e7c470f5bd1a52ffaf4cd547238994..91f748550e48653ff01042758fea88ff176788be 100644 (file)
--- a/remote.c
+++ b/remote.c
@@ -1413,10 +1413,9 @@ int stat_tracking_info(struct branch *branch, int *num_ours, int *num_theirs)
if (theirs == ours)
return 0;
- /* Run "rev-list --no-merges --left-right ours...theirs" internally... */
+ /* Run "rev-list --left-right ours...theirs" internally... */
rev_argc = 0;
rev_argv[rev_argc++] = NULL;
- rev_argv[rev_argc++] = "--no-merges";
rev_argv[rev_argc++] = "--left-right";
rev_argv[rev_argc++] = symmetric;
rev_argv[rev_argc++] = "--";