All of lore.kernel.org
 help / color / mirror / Atom feed
From: Harry Putnam <reader@newsguy.com>
To: git@vger.kernel.org
Subject: Not understanding with git wants to copy one file to another
Date: Thu, 10 Aug 2017 13:03:30 -0400	[thread overview]
Message-ID: <87mv7773tp.fsf@local.lan> (raw)

I ran into a line in git commit ouput I had not see before

  #copied:     d0/etc/hosts -> misc/old-readerHOSTvcs-files/etc/hosts

So googling I learned that this might happen if git thinks the two
files are the same.

I was pretty sure they were not the same so checked them>

 <inside git repo>

diff d0/etc/host misc/old-readerHOSTvcs-files/etc/hosts

The output is a bit long but shows them being quite different.

Some 2 dozen or so lines that dramatically differ.

Here are two that are at least kind of similar but would never be seen
as the same:

< 192.168.1.43      m2.local.lan       m2       # 00-90-F5-A1-F9-E5
> 192.168.1.43    m2.local.lan        m2         # win 7

Not to mention they are quite different lines as well.

So what is going on and what should I be looking at?


             reply	other threads:[~2017-08-10 17:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-10 17:03 Harry Putnam [this message]
2017-08-10 17:36 ` Not understanding with git wants to copy one file to another Stefan Beller
2017-08-10 18:18   ` Harry Putnam
2017-08-10 18:47     ` Stefan Beller
2017-08-11 20:41       ` Harry Putnam
2017-08-14 18:07         ` Stefan Beller
2017-08-14 19:21           ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mv7773tp.fsf@local.lan \
    --to=reader@newsguy.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.