git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: "pradeep singh" <pradeep.rautela@gmail.com>
Cc: git@vger.kernel.org, "Dhirendra Singh Kholia" <dhiru.kholia@gmail.com>
Subject: Re: Git pull fails on a repository > 1.5G.
Date: Mon, 17 Sep 2007 12:18:06 -0700	[thread overview]
Message-ID: <7v7imp14pd.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: <a901b49a0709170239t39123a27t3ff3462855c7eb57@mail.gmail.com> (pradeep singh's message of "Mon, 17 Sep 2007 15:09:44 +0530")

"pradeep singh" <pradeep.rautela@gmail.com> writes:

>> The remote repo has some changes to a file with some simple printk's
>> some some code changes.
>>
>> I have my git repo in /mnt/reiser/project .
>>
>> I changed to the my repo.

"changed" meaning you did:

          $ cd /mnt/reiser/project

right?

>> i did a git-pull ssh://user1@10.100.205.34/opt/test/project test .[to
>> pull from another test machine].

It is not clear if this "another test machine" is the "remote
repo with printk" you earlier talked about.  Are they the same?
I am assuming they are.  What was the command?  Was

	$ git-pull ssh://user1@10.100.205.34/opt/test/project test .

what you typed (I am hoping that you did not give the extra " ."
at the end)?

>> I got some conflicts in a file but in some important files it
>> did not update it.

You earlier talked about "printk's to a file" in the remote, and
then you talk about two other classes of files.  How are they
related?  Is the "files it did not update it" being "important"
a helpful information to diagnose this issue?

Getting conflicts is perfectly normal.  If you changed something
and the branch you are pulling from changed the area nearby, you
would get conflicts and need to resolve.  Are you saying the
file you got conflict in should not have get conflicts?  If so,
what makes you think so?  They did not see parallel developments
while they diverged?

It also is perfectly normal if "git-pull" does not rewrite every
file in your work tree.  If a file was modified by you (in the
repository /mnt/reiser/project) since the history diverged from
the history "another test machine" has, while the repository on
that another test machine did not modify that file in any way,
the merge result is _your_ version and in such a case "git-pull"
will keep your copy intact.

What made you think that some files that were not updated should
have been updated?  IOW, are you sure they should have been
updated while git did not update them?  What error messages did
you get when you did the above "pull"?  What did they say?

> What is happening here? :-/
>
> I am puzzled.
> Can anybody please help me???

Sorry, you provided too little information to start even
speculating if there is anything wrong going on, let alone
diagnosing if there indeed is something wrong.

      reply	other threads:[~2007-09-17 19:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-17  8:59 Git pull fails on a repository > 1.5G pradeep singh
2007-09-17  9:39 ` pradeep singh
2007-09-17 19:18   ` Junio C Hamano [this message]

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

  List information: http://vger.kernel.org/majordomo-info.html

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

  git send-email \
    --in-reply-to=7v7imp14pd.fsf@gitster.siamese.dyndns.org \
    --to=gitster@pobox.com \
    --cc=dhiru.kholia@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=pradeep.rautela@gmail.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.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).