# git log - filter missing changesets

3 messages from 2006-08-17 to 2006-08-17. Participants: Michael S. Tsirkin, Junio C Hamano.
Thread: https://gitlist.dev/t/5303

## Michael S. Tsirkin, 2006-08-17 08:25

Subject: git log - filter missing changesets
Message-ID: <20060817082558.GB2630@mellanox.co.il>
URL: https://gitlist.dev/e/20060817082558.GB2630%40mellanox.co.il

```
Hi!
git log with -- parameter seems to sometimes miss changesets that
affect a specific directory:

>git  log -p vofed-1.1-rc1.. -- drivers/infiniband/ulp/sdp/ | \
  grep drivers/infiniband/ulp/sdp
diff --git a/drivers/infiniband/ulp/sdp/sdp.h b/drivers/infiniband/ulp/sdp/sdp.h
--- a/drivers/infiniband/ulp/sdp/sdp.h
+++ b/drivers/infiniband/ulp/sdp/sdp.h
diff --git a/drivers/infiniband/ulp/sdp/sdp_bcopy.c
b/drivers/infiniband/ulp/sdp/sdp_bcopy.c
--- a/drivers/infiniband/ulp/sdp/sdp_bcopy.c
+++ b/drivers/infiniband/ulp/sdp/sdp_bcopy.c
diff --git a/drivers/infiniband/ulp/sdp/sdp_main.c
b/drivers/infiniband/ulp/sdp/sdp_main.c
--- a/drivers/infiniband/ulp/sdp/sdp_main.c
+++ b/drivers/infiniband/ulp/sdp/sdp_main.c


but without a filter:

>git  log -p vofed-1.1-rc1.. | \
      grep drivers/infiniband/ulp/sdp drivers/infiniband/ulp/sdp/sdp_main.c
diff --git a/drivers/infiniband/ulp/sdp/sdp.h b/drivers/infiniband/ulp/sdp/sdp.h
--- a/drivers/infiniband/ulp/sdp/sdp.h
+++ b/drivers/infiniband/ulp/sdp/sdp.h
diff --git a/drivers/infiniband/ulp/sdp/sdp_bcopy.c b/drivers/infiniband/ulp/sdp/sdp_bcopy.c
--- a/drivers/infiniband/ulp/sdp/sdp_bcopy.c
+++ b/drivers/infiniband/ulp/sdp/sdp_bcopy.c
diff --git a/drivers/infiniband/ulp/sdp/sdp_main.c b/drivers/infiniband/ulp/sdp/sdp_main.c
--- a/drivers/infiniband/ulp/sdp/sdp_main.c
+++ b/drivers/infiniband/ulp/sdp/sdp_main.c
diff --git a/drivers/infiniband/ulp/sdp/sdp.h b/drivers/infiniband/ulp/sdp/sdp.h
--- a/drivers/infiniband/ulp/sdp/sdp.h
+++ b/drivers/infiniband/ulp/sdp/sdp.h
diff --git a/drivers/infiniband/ulp/sdp/sdp_bcopy.c b/drivers/infiniband/ulp/sdp/sdp_bcopy.c
--- a/drivers/infiniband/ulp/sdp/sdp_bcopy.c
+++ b/drivers/infiniband/ulp/sdp/sdp_bcopy.c
diff --git a/drivers/infiniband/ulp/sdp/sdp_main.c b/drivers/infiniband/ulp/sdp/sdp_main.c
--- a/drivers/infiniband/ulp/sdp/sdp_main.c
+++ b/drivers/infiniband/ulp/sdp/sdp_main.c

what gives?

-- 
MST

```

## Junio C Hamano, 2006-08-17 08:43

Subject: Re: git log - filter missing changesets
Message-ID: <7v7j17u4zw.fsf@assigned-by-dhcp.cox.net>
URL: https://gitlist.dev/e/7v7j17u4zw.fsf%40assigned-by-dhcp.cox.net
In-Reply-To: <20060817082558.GB2630@mellanox.co.il>

```
"Michael S. Tsirkin" <mst@mellanox.co.il> writes:

> Hi!
> git log with -- parameter seems to sometimes miss changesets that
> affect a specific directory:
> ...
> what gives?

Most likely history simplification threw away the entire side
branch.

This is getting to be a FAQ I suspect.

http://thread.gmane.org/gmane.comp.version-control.git/21633

```

## Michael S. Tsirkin, 2006-08-17 08:58

Subject: Re: git log - filter missing changesets
Message-ID: <20060817085830.GD2630@mellanox.co.il>
URL: https://gitlist.dev/e/20060817085830.GD2630%40mellanox.co.il
In-Reply-To: <7v7j17u4zw.fsf@assigned-by-dhcp.cox.net>

```
Quoting r. Junio C Hamano <junkio@cox.net>:
> Subject: Re: git log - filter missing changesets
> 
> "Michael S. Tsirkin" <mst@mellanox.co.il> writes:
> 
> > Hi!
> > git log with -- parameter seems to sometimes miss changesets that
> > affect a specific directory:
> > ...
> > what gives?
> 
> Most likely history simplification threw away the entire side
> branch.
> 
> This is getting to be a FAQ I suspect.
> 
> http://thread.gmane.org/gmane.comp.version-control.git/21633
> 
> 

Yes, --full-history helps. Thanks!
I'm still not sure *when* does this simplification happen -
the changes that got hidden do not add/remove any files - but oh well.

BTW, --full-history does not seem to be documented on git-rev-list(1)
man page.

-- 
MST

```
