From: Aghiles <aghilesk@gmail.com>
To: Johannes Gilger <heipei@hackvalue.de>
Cc: git@vger.kernel.org
Subject: Re: git log of remote repositories.
Date: Wed, 14 Apr 2010 16:05:39 -0400 [thread overview]
Message-ID: <w2s3abd05a91004141305h28d69d44g2fcb69abe578dbcc@mail.gmail.com> (raw)
In-Reply-To: <20100414194552.GA5178@dualtron.lan>
Hello Johannes,
On Wed, Apr 14, 2010, Johannes Gilger wrote:
> Major restriction? Have you understood how git works, internally?
I don't need to understand how gits works _internally_ to know what
is a restriction to _me_. ;)
Having a sneak peek on what's going upstream seems like a natural
thing to do, no ?
For example, I want to write a script to say to the user what are files
that could be potentially in conflict from upstream. As I understand it
now, I have to fetch and then check. No biggie but I am must say
I am surprised.
> The
> first thing you'd have to do is to get the data (i.e. your version or
> their version) on one of the sides then do the diff there. Now, that
> either means you have to upload your non-matching objects or they have
> to upload their non-matching objects. Next up, you might not even have
> the authority (or technical possibility) to put data on that server
> (think http), so obviously the diff will have to be done at your side.
>
Understood.
> So, what will be transmitted? Data the server already has but you don't.
> git determines this data and then packs it into an efficient format and
> sends it to you. Which is what? A diff of your version vs. theirs.
> Except we don't transmit plain diffs but pack them up nicely so the data
> is smaller and (because you now effectively fetched it) can be reused
> any time after that initial diff.
Understood.
>
> Now, one might think of some very limited form of log.
In my case, just a list of modified files would be fine actually. Maybe this
is something I can do already ?
Thanks for the insight.
-- aghiles
next prev parent reply other threads:[~2010-04-14 20:06 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-13 23:25 git log of remote repositories Aghiles
2010-04-13 23:27 ` Shawn O. Pearce
2010-04-14 2:15 ` Dave Olszewski
2010-04-14 11:33 ` Johannes Gilger
2010-04-14 19:08 ` Aghiles
2010-04-14 19:43 ` Tomas Carnecky
2010-04-14 19:45 ` Johannes Gilger
2010-04-14 20:05 ` Aghiles [this message]
2010-04-14 20:11 ` Sverre Rabbelier
2010-04-14 20:18 ` Aghiles
2010-04-14 20:25 ` Sverre Rabbelier
2010-04-14 20:39 ` Johannes Gilger
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=w2s3abd05a91004141305h28d69d44g2fcb69abe578dbcc@mail.gmail.com \
--to=aghilesk@gmail.com \
--cc=git@vger.kernel.org \
--cc=heipei@hackvalue.de \
/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 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 NNTP newsgroup(s).