All of lore.kernel.org
 help / color / mirror / Atom feed
* git issue
@ 2015-07-01 13:37 Toralf Förster
  2015-07-01 14:21 ` Dave Jones
  0 siblings, 1 reply; 10+ messages in thread
From: Toralf Förster @ 2015-07-01 13:37 UTC (permalink / raw)
  To: trinity

got today :

$ cd ~/devel/trinity; git pull                       
U       blockdevs.c
U       debug.c
U       rand/random-pathname.c
U       rand/random.c
U       shm.c
U       tools/analyze-sockets.c
U       uid.c
Pull is not possible because you have unmerged files.
Please, fix them up in the work tree, and then use 'git add/rm <file>'
as appropriate to mark resolution and make a commit.


tfoerste@t44 ~/devel/trinity $ git diff

tfoerste@t44 ~/devel/trinity $ git status
On branch master
Your branch and 'origin/master' have diverged,
and have 3702 and 3711 different commits each, respectively.
  (use "git pull" to merge the remote branch into yours)
You have unmerged paths.
  (fix conflicts and run "git commit")

Unmerged paths:
  (use "git add <file>..." to mark resolution)

        both added:      blockdevs.c
        both added:      debug.c
        both added:      rand/random-pathname.c
        both added:      rand/random.c
        both added:      shm.c
        both added:      tools/analyze-sockets.c
        both added:      uid.c

no changes added to commit (use "git add" and/or "git commit -a")

tfoerste@t44 ~/devel/trinity $ git diff | patch -R
patch: **** Only garbage was found in the patch input.

tfoerste@t44 ~/devel/trinity $ git diff
tfoerste@t44 ~/devel/trinity $

/me ownders how to solve this - I did not edit loally files AFAICT

-- 
Toralf
pgp key: 7B1A 07F4 EC82 0F90 D4C2  8936 872A E508 0076 E94E

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Git issue
@ 2016-11-01 10:28 Halde, Faiz
  2016-11-01 17:45 ` Jeff King
  0 siblings, 1 reply; 10+ messages in thread
From: Halde, Faiz @ 2016-11-01 10:28 UTC (permalink / raw)
  To: git@vger.kernel.org

Hello Git

Not sure if this is a feature or a bug, but here it is.

I frequently use the following command to ignore changes done in a file

git update-index --assume-unchanged somefile

Now when I do a pull from my remote branch and say the file 'somefile' was changed locally and in remote, git will abort the merge saying I need to commit my changes of 'somefile'.

But isn't the whole point of the above command to ignore the changes within the file?

Thanks
Faiz Halde 

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

end of thread, other threads:[~2016-11-04  4:52 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-01 13:37 git issue Toralf Förster
2015-07-01 14:21 ` Dave Jones
2015-07-01 15:11   ` Toralf Förster
  -- strict thread matches above, loose matches on Subject: below --
2016-11-01 10:28 Git issue Halde, Faiz
2016-11-01 17:45 ` Jeff King
2016-11-01 18:11   ` Junio C Hamano
2016-11-01 20:50   ` Philip Oakley
2016-11-01 21:03     ` Jeff King
2016-11-01 21:23       ` Junio C Hamano
2016-11-04  4:52         ` Jacob Keller

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.