Re: What's cooking in git.git (topics)

Previous thread: What's in git.git (stable) by Junio C Hamano on Wednesday, December 6, 2006 - 5:18 pm. (3 messages)

Next thread: Seeking git recipe to grab a single file by Mitch Bradley on Wednesday, December 6, 2006 - 5:22 pm. (2 messages)
To: <git@...>
Date: Wednesday, December 6, 2006 - 5:19 pm

Here is a list of topics that are cooking; the commits marked
with '+' are in 'next', '-' are in 'pu'. Dates are when the
topic was last touched [*1*].

----------------------------------------------------------------

* ap/clone-origin (Wed Dec 6 12:07:23 2006 +0000)
+ Explicitly add the default "git pull" behaviour to .git/config on clone

This makes 'git clone' to mark the local 'master' to explicitly
merge with the corresponding remote branch, which would be a
sensible default.

As discussed on the list earlier, I think it also would make
sense to forbid 'git pull' to make a merge when:

(1) branch.*.merge entries exist in $GIT_DIR/config (which
signals that the user is using this new mechanism), and
(2) branch.<current-branch>.merge entry does not exist for the
current branch.

I think it is sensible to merge to 'master' after that change.

* jc/3way (Wed Nov 29 18:53:13 2006 -0800)
+ git-merge: preserve and merge local changes when doing fast forward

This allows you to run a 'git merge' (or 'git pull') that
results in a fast-forward merge that updates a path your
working tree has modified locally; it merges your local changes
into the updated version, in the same way the branch switching
'git checkout -m' works. It has been in next for some time and
unless we hear somebody scream I think it is Ok to merge to
'master'.

* jc/blame-boundary (Fri Dec 1 20:45:45 2006 -0800)
- git-blame: show lines attributed to boundary commits differently.

This was discussed in a thread on grouping the short-log entries
differently and measuring the importance of each commit. While
it does not break things per-se, nobody seems to want to use it
for scripting yet, so it is staying in 'pu'.

* jc/commit-careful (Tue Oct 24 21:48:55 2006 -0700)
+ git-commit: show --summary after successful commit.

I think this is safe to merge to 'master'.

* jc/diff (Mon Sep 25 23:03:34 2006 -0700)
- para-walk: walk n trees, index and working tree in ...

To: Junio C Hamano <junkio@...>
Cc: <git@...>
Date: Wednesday, December 6, 2006 - 7:42 pm

Hi,

This is something I am looking forward to to test. Maybe in "next" for

I vote for putting this into "next" for a wider audience. It also would
help people to submit patches (it is kind of a hassle to branch "pu", so I

Yes, definitely cook it for at least a week; maybe I find the time to

The more I see the missing reaction, the less sure I am this is a sensible
thing to do.

And it would need more safety valves, not just documentation. For example,
I am not sure if a push from/to a shalow repo is safe.

Ciao,
Dscho

-

To: <git@...>
Date: Thursday, December 7, 2006 - 1:49 pm

Don't be too downhearted. I am certainly looking forward to using shallow
clones; but by their very nature they are going to be used on big established
projects (otherwise why would one need a shallow clone?), so until those
projects upgrade their servers the news will be quiet

Also; it's probably going to be casual developers that find shallow clones
useful, as the main developers will clone the whole repository. This might
also mean that they aren't going to be around on the git mailing list.

I certainly wouldn't say that the shallow clone work is not being appreciated.
It's just being appreciated quietly.

Andy

--
Dr Andrew Parkins, M Eng (Hons), AMIEE
andyparkins@gmail.com
-

To: Johannes Schindelin <Johannes.Schindelin@...>
Cc: Junio C Hamano <junkio@...>, <git@...>
Date: Thursday, December 7, 2006 - 5:03 am

I'm not sure what reaction you expect, but this is something a lot of
our occasional Wine users are requesting. The Wine full history is
80Mb, and that's a big download if you just want to try a quick
patch. Now of course you won't see these users around here hacking on
shallow clone, most likely they just went and downloaded Wine from the
CVS mirror instead. But it's a shame to have to maintain a CVS mirror
just for that purpose...

--
Alexandre Julliard
julliard@winehq.org
-

To: Alexandre Julliard <julliard@...>
Cc: Junio C Hamano <junkio@...>, <git@...>
Date: Thursday, December 7, 2006 - 10:59 am

Hi,

Sorry, I was just mumbling about the fact that I would _like_ to hear back
about successes and failures. If there are problems I want to fix them.

So, do you actually know of people who _used_ (as opposed to "tested")
shallow clones?

Ciao,
Dscho

-

To: <git@...>
Cc: Junio C Hamano <junkio@...>, <git@...>
Date: Friday, December 8, 2006 - 6:12 am

How about this. This is already reported

kvaneesh@kvaneesh-laptop:/tmp$git clone --depth 2 /home/opensource/git git.test
.....
100% (743/743) done

kvaneesh@kvaneesh-laptop:/tmp$cd git.test/
[master@git.test]$ git fsck-objects

[master@git.test]$ git fetch --depth 4
remote: Generating pack...
remote: Done counting 872 objects.
...
100% (1/1) done
Total 1 (delta 0), reused 0 (delta 0)
Unpacking 1 objects
100% (1/1) done

[master@git.test]$ git fsck-objects
dangling commit aca085e577688108a2480b96a2f7077424a74e4d
dangling commit b360cca0b100e14abffa4cae78521b493c783738
dangling commit cd976f5c52694acb4b23c3f2425ed4f0a47ec799
[master@git.test]$ [

-

To: Johannes Schindelin <Johannes.Schindelin@...>
Cc: Junio C Hamano <junkio@...>, <git@...>
Date: Thursday, December 7, 2006 - 12:44 pm

No, I'm afraid not. Unfortunately, using it requires an upgraded
server, and I'm reluctant to put an experimental release on the main
Wine server, so I was kind of waiting for it to graduate to master. Of
course that's a bit of a chicken and egg problem...

--
Alexandre Julliard
julliard@winehq.org
-

Previous thread: What's in git.git (stable) by Junio C Hamano on Wednesday, December 6, 2006 - 5:18 pm. (3 messages)

Next thread: Seeking git recipe to grab a single file by Mitch Bradley on Wednesday, December 6, 2006 - 5:22 pm. (2 messages)