unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* git pull fails with merge conflicts.  How can this possibly happen?
@ 2014-11-14 18:37 Alan Mackenzie
  2014-11-14 19:01 ` David Caldwell
  0 siblings, 1 reply; 55+ messages in thread
From: Alan Mackenzie @ 2014-11-14 18:37 UTC (permalink / raw)
  To: emacs-devel

Hello, Emacs.

I've now advanced from my last puzzlement.  It turns out that "git
clone" doesn't properly initialise the new repository.  I had to do this
manually with "git checkout emacs-24".  I now get a bit further with
"git pull" from my other repository.

This "git pull" leaves a mass of merge conflicts.  How can this be?  I
have not edited a single file in any git repository as of yet.  Here is
a screen shot from this "git pull" together with a preceeding "git
branch -a":

  acm@acm ~/emacs/emacs.git/emacs-24 $ git branch -a
  * emacs-24
    master
    remotes/origin/HEAD -> origin/master
    remotes/origin/emacs-24
    remotes/origin/master
  acm@acm ~/emacs/emacs.git/emacs-24 $ git pull
  remote: Counting objects: 32, done.
  remote: Compressing objects: 100% (16/16), done.
  remote: Total 32 (delta 26), reused 22 (delta 16)
  Unpacking objects: 100% (32/32), done.
  From /home/acm/emacs/emacs.git/master/.
   + 911ad4a...6688117 emacs-24   -> origin/emacs-24  (forced update)
  Auto-merging src/nsfns.m
  Auto-merging src/ChangeLog
  CONFLICT (content): Merge conflict in src/ChangeLog
  Auto-merging lisp/gnus/ChangeLog
  CONFLICT (content): Merge conflict in lisp/gnus/ChangeLog
  Auto-merging etc/ChangeLog
  CONFLICT (content): Merge conflict in etc/ChangeLog
  Auto-merging etc/CONTRIBUTE
  Auto-merging admin/ChangeLog
  CONFLICT (content): Merge conflict in admin/ChangeLog
  Auto-merging Makefile.in
  CONFLICT (content): Merge conflict in Makefile.in
  Auto-merging ChangeLog
  CONFLICT (content): Merge conflict in ChangeLog
  Auto-merging .gitignore
  CONFLICT (content): Merge conflict in .gitignore
  Automatic merge failed; fix conflicts and then commit the result.

What does git pull actually do?  The git pull man page says:

  "Incorporates changes from a remote repository into the current
   branch. In its default mode, git pull is shorthand for git fetch
   followed by git merge FETCH_HEAD."

Does this mean that git has tried to merge changes on the master branch
into my emacs-24 branch working directory?  Surely git can't be that
stupid.  Please?

-- 
Alan Mackenzie (Nuremberg, Germany).



^ permalink raw reply	[flat|nested] 55+ messages in thread

end of thread, other threads:[~2014-11-18 22:57 UTC | newest]

Thread overview: 55+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-14 18:37 git pull fails with merge conflicts. How can this possibly happen? Alan Mackenzie
2014-11-14 19:01 ` David Caldwell
2014-11-14 21:54   ` Alan Mackenzie
2014-11-15  5:41     ` Yuri Khan
2014-11-15  8:14       ` Eli Zaretskii
2014-11-15  9:20         ` Stephen J. Turnbull
2014-11-15 10:54           ` Eli Zaretskii
2014-11-15 11:15             ` David Engster
2014-11-15 11:19             ` David Kastrup
2014-11-15 11:30               ` Eli Zaretskii
2014-11-15 14:38                 ` David Kastrup
2014-11-15 16:21                   ` Eli Zaretskii
2014-11-15 16:31               ` Stephen J. Turnbull
2014-11-15 16:55                 ` Eli Zaretskii
2014-11-15 17:05                   ` David Kastrup
2014-11-15 17:03                 ` David Kastrup
2014-11-15 18:25                   ` Stephen J. Turnbull
2014-11-15 16:25             ` git apologia [was: git pull fails with merge conflicts. ...] Stephen J. Turnbull
2014-11-15 16:51               ` Eli Zaretskii
2014-11-15 18:16                 ` Stephen J. Turnbull
2014-11-15 18:41                   ` David Kastrup
2014-11-15 19:13                   ` Git's victory and an entertaining irony Eric S. Raymond
2014-11-16  0:04                     ` Stephen J. Turnbull
2014-11-16  6:00                       ` Eric S. Raymond
2014-11-15 18:26                 ` git apologia [was: git pull fails with merge conflicts. ...] Andreas Schwab
2014-11-15 18:37                   ` Eli Zaretskii
2014-11-15 18:47                     ` David Kastrup
2014-11-16 16:06               ` git apologia Eli Zaretskii
2014-11-16 16:36                 ` Andreas Schwab
2014-11-16 18:04                   ` Eli Zaretskii
2014-11-16 18:20                     ` Andreas Schwab
2014-11-16 18:38                       ` Eli Zaretskii
2014-11-16 18:50                         ` Andreas Schwab
2014-11-16 18:58                           ` Eli Zaretskii
2014-11-16 18:55                         ` Teemu Likonen
2014-11-17  0:14                 ` Stephen J. Turnbull
2014-11-17 16:41                   ` Eli Zaretskii
2014-11-17 16:50                     ` Andreas Schwab
2014-11-17 17:47                       ` Eli Zaretskii
2014-11-17 16:57                     ` David Kastrup
2014-11-17 18:55                     ` Achim Gratz
2014-11-18  1:16                       ` Yuri Khan
2014-11-18  8:58                     ` Thien-Thi Nguyen
2014-11-18 13:53                       ` John Yates
2014-11-18 19:45                         ` Thien-Thi Nguyen
2014-11-18  9:39                     ` Andreas Schwab
2014-11-18 16:42                       ` Barry Warsaw
2014-11-17 12:38             ` git pull fails with merge conflicts. How can this possibly happen? Sergey Organov
2014-11-17 16:05               ` Eli Zaretskii
2014-11-17 16:54                 ` David Kastrup
2014-11-17 21:09                 ` Sergey Organov
2014-11-18  3:29                 ` Glenn Morris
2014-11-18 22:57                   ` Alan Mackenzie
2014-11-15 10:56           ` David Kastrup
2014-11-15 13:43             ` Stephen J. Turnbull

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).