# What's cooking in git.git (topics)

6 messages from 2006-12-22 to 2006-12-23. Participants: Junio C Hamano, Andy Parkins, Johannes Schindelin, Josef Weidendorfer.
Thread: https://gitlist.dev/t/6076

## Junio C Hamano, 2006-12-22 09:37

Subject: What's cooking in git.git (topics)
Message-ID: <7vzm9g2rv5.fsf@assigned-by-dhcp.cox.net>
URL: https://gitlist.dev/e/7vzm9g2rv5.fsf%40assigned-by-dhcp.cox.net

```
Here are the topics that have been cooking.  Commits prefixed
with '-' are only in 'pu' while commits prefixed with '+' are
in 'next'.  The topics list the commits in reverse chronological
order.

* jc/rm (Fri Dec 22 01:02:59 2006 -0800) 2 commits
 - t3600: update the test for updated git rm
 - git-rm: update to saner semantics

This still needs 'require -r to descend into directories'
safety.  I'd really want to have this in v1.5.0.

* jc/fsck-reflog (Fri Dec 22 00:46:33 2006 -0800) 8 commits
 + reflog expire: prune commits that are not incomplete
 + Don't crash during repack of a reflog with pruned commits.
 + git reflog expire
 + Move in_merge_bases() to commit.c
 + reflog: fix warning message.
 + Teach git-repack to preserve objects referred to by reflog
   entries.
 + Protect commits recorded in reflog from pruning.
 + add for_each_reflog_ent() iterator

The latest 'reflog expire' hopefully should revive Shawn's
repository and make prune or repack working again for him.

Tip for 'next' users.  fsck and prune consider commits that are
referenced by reflog entries reachable, but your repositories
may have been pruned by earlier 'prune' already, which may cause
repack to barf and refuse.  Please use 'reflog expire --all' to
prune out reflog entries that refer to commits that are already
lost if repack fails in your repository and try again.

Because we have made the reflog enabled by default, I really
would want to have this in v1.5.0 to prevent unbounded growth of
reflog files.

I think none of the rest are 'must have's for v1.5.0.  Perhaps
except for js/rerere series.

* js/rerere (Wed Dec 20 17:39:41 2006 +0100) 3 commits
 + Make git-rerere a builtin
 + Add a test for git-rerere
 + move read_mmfile() into xdiff-interface
* jc/skip-count (Tue Dec 19 18:25:32 2006 -0800) 1 commit
 + revision: --skip=<n>
* jn/web (Sat Dec 16 17:12:55 2006 +0100) 1 commit
 - gitweb: Add some mod_perl specific support
* jc/git-add--interactive (Mon Dec 11 17:09:26 2006 -0800) 2 commits
 + git-add --interactive: hunk splitting
 + git-add --interactive
* jc/explain (Mon Dec 4 19:35:04 2006 -0800) 1 commit
 - git-explain
* jc/3way (Wed Nov 29 18:53:13 2006 -0800) 1 commit
 + git-merge: preserve and merge local changes when doing fast
   forward
* js/shallow (Fri Nov 24 16:00:13 2006 +0100) 15 commits
 + fetch-pack: Do not fetch tags for shallow clones.
 + get_shallow_commits: Avoid memory leak if a commit has been
   reached already.
 + git-fetch: Reset shallow_depth before auto-following tags.
 + upload-pack: Check for NOT_SHALLOW flag before sending a shallow
   to the client.
 + fetch-pack: Properly remove the shallow file when it becomes
   empty.
 + shallow clone: unparse and reparse an unshallowed commit
 + Why didn't we mark want_obj as ~UNINTERESTING in the old code?
 + Why does it mean we do not have to register shallow if we have
   one?
 + We should make sure that the protocol is still extensible.
 + add tests for shallow stuff
 + Shallow clone: do not ignore shallowness when following tags
 + allow deepening of a shallow repository
 + allow cloning a repository "shallowly"
 + support fetching into a shallow repository
 + upload-pack: no longer call rev-list
* jc/web (Wed Nov 8 14:54:09 2006 -0800) 1 commit
 - gitweb: steal loadavg throttle from kernel.org
* jc/pickaxe (Sun Nov 5 11:52:43 2006 -0800) 1 commit
 - blame: --show-stats for easier optimization work.
* jc/diff (Mon Sep 25 23:03:34 2006 -0700) 1 commit
 - para-walk: walk n trees, index and working tree in parallel
* jc/diff-apply-patch (Fri Sep 22 16:17:58 2006 -0700) 1 commit
 + git-diff/git-apply: make diff output a bit friendlier to GNU patch
   (part 2)

```

## Andy Parkins, 2006-12-22 11:11

Subject: Re: What's cooking in git.git (topics)
Message-ID: <200612221111.58071.andyparkins@gmail.com>
URL: https://gitlist.dev/e/200612221111.58071.andyparkins%40gmail.com
In-Reply-To: <7vzm9g2rv5.fsf@assigned-by-dhcp.cox.net>

```
On Friday 2006 December 22 09:37, Junio C Hamano wrote:

> * jc/git-add--interactive (Mon Dec 11 17:09:26 2006 -0800) 2 commits
>  + git-add --interactive: hunk splitting
>  + git-add --interactive

I used this to disentangle a load of changes that I made under pressure and 
turned them into lovely isolated commits.  I didn't have any trouble with it, 
and thought it was incredibly useful.

I'd vote for putting it in 1.5 - it's in keeping with the usability theme - 
people love interactive stuff.


Andy
-- 
Dr Andy Parkins, M Eng (hons), MIEE
andyparkins@gmail.com

```

## Junio C Hamano, 2006-12-22 23:40

Subject: Re: What's cooking in git.git (topics)
Message-ID: <7vlkkzv6rq.fsf@assigned-by-dhcp.cox.net>
URL: https://gitlist.dev/e/7vlkkzv6rq.fsf%40assigned-by-dhcp.cox.net
In-Reply-To: <200612221111.58071.andyparkins@gmail.com>

```
Andy Parkins <andyparkins@gmail.com> writes:

> On Friday 2006 December 22 09:37, Junio C Hamano wrote:
>
>> * jc/git-add--interactive (Mon Dec 11 17:09:26 2006 -0800) 2 commits
>>  + git-add --interactive: hunk splitting
>>  + git-add --interactive
>
> I used this to disentangle a load of changes that I made under pressure and 
> turned them into lovely isolated commits.  I didn't have any trouble with it, 
> and thought it was incredibly useful.
>
> I'd vote for putting it in 1.5 - it's in keeping with the usability theme - 
> people love interactive stuff.

Seconds?  Thirds?  Vetoes?

```

## Johannes Schindelin, 2006-12-22 23:53

Subject: Re: What's cooking in git.git (topics)
Message-ID: <Pine.LNX.4.63.0612230052220.19693@wbgn013.biozentrum.uni-wuerzburg.de>
URL: https://gitlist.dev/e/Pine.LNX.4.63.0612230052220.19693%40wbgn013.biozentrum.uni-wuerzburg.de
In-Reply-To: <7vlkkzv6rq.fsf@assigned-by-dhcp.cox.net>

```
Hi,

On Fri, 22 Dec 2006, Junio C Hamano wrote:

> Andy Parkins <andyparkins@gmail.com> writes:
> 
> > On Friday 2006 December 22 09:37, Junio C Hamano wrote:
> >
> >> * jc/git-add--interactive (Mon Dec 11 17:09:26 2006 -0800) 2 commits
> >>  + git-add --interactive: hunk splitting
> >>  + git-add --interactive
> >
> > I used this to disentangle a load of changes that I made under pressure and 
> > turned them into lovely isolated commits.  I didn't have any trouble with it, 
> > and thought it was incredibly useful.
> >
> > I'd vote for putting it in 1.5 - it's in keeping with the usability theme - 
> > people love interactive stuff.
> 
> Seconds?  Thirds?  Vetoes?

Obviously, I like git-hunk-commit better ;-)

Seriously again, I will play with it in the next days.

Ciao,
Dscho

```

## Josef Weidendorfer, 2006-12-23 00:12

Subject: Re: What's cooking in git.git (topics)
Message-ID: <200612230112.24212.Josef.Weidendorfer@gmx.de>
URL: https://gitlist.dev/e/200612230112.24212.Josef.Weidendorfer%40gmx.de
In-Reply-To: <7vlkkzv6rq.fsf@assigned-by-dhcp.cox.net>

```
On Saturday 23 December 2006 00:40, you wrote:
> Andy Parkins <andyparkins@gmail.com> writes:
> 
> > On Friday 2006 December 22 09:37, Junio C Hamano wrote:
> >
> >> * jc/git-add--interactive (Mon Dec 11 17:09:26 2006 -0800) 2 commits
> >>  + git-add --interactive: hunk splitting
> >>  + git-add --interactive
> >
> > I used this to disentangle a load of changes that I made under pressure and 
> > turned them into lovely isolated commits.  I didn't have any trouble with it, 
> > and thought it was incredibly useful.
> >
> > I'd vote for putting it in 1.5 - it's in keeping with the usability theme - 
> > people love interactive stuff.
> 
> Seconds?  Thirds?  Vetoes?

Seconds. I like it.

Andy: Did you check whether your disentangled commits each actually did compile
on their own? If yes, how did you do it?

Josef

```

## Andy Parkins, 2006-12-23 16:38

Subject: Re: What's cooking in git.git (topics)
Message-ID: <200612231638.50045.andyparkins@gmail.com>
URL: https://gitlist.dev/e/200612231638.50045.andyparkins%40gmail.com
In-Reply-To: <200612230112.24212.Josef.Weidendorfer@gmx.de>

```
On Saturday 2006, December 23 00:12, Josef Weidendorfer wrote:

> Andy: Did you check whether your disentangled commits each actually did
> compile on their own? If yes, how did you do it?

I didn't; they were easily separable and independent fortunately.  I don't 
have a good way of doing what you ask other than making the commits then 
testing each of those individually; then again there have been plenty of 
ocassions when a git guru tells me some magic that suddenly does exactly what 
I want.

In the case of testing my split commits I suppose it would need some way of 
pushing the working directory into a kind of alternate index temporarily.


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

```
