On Fri, May 09, 2008 at 05:38:12PM +1000, James Sadler wrote:My understanding is that it should behave as B. E.g.: git init mkdir subdir1 subdir2 echo content 1 >subdir1/file echo content 2 >subdir2/file git add . git commit -m initial echo changes 1 >>subdir1/file git commit -a -m 'only one' echo more changes 1 >>subdir1/file echo more changes 2 >>subdir2/file git commit -a -m 'both' git filter-branch --subdirectory-filter subdir1 git log --name-status --pretty=oneline should show something like: b119e21829b6039aa8fe938fb0304a9a7436b84d both M file db2ad8e702f36a1df99dd529aa594e756010b191 only one M file dacb4c2536e61c18079bcc73ea81fa0fb139c097 initial A file IOW, all commits touch subdir1/file, which becomes just 'file'. It could be a bug in git-filter-branch. What version of git are you using? -Peff -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Ingo Molnar | Re: [PATCH 00/34] AMD IOMMU driver |
| Linus Torvalds | Linux 2.6.27-rc8 |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Ryan Hope | reiser4 for 2.6.27-rc1 |
git: | |
| Linus Torvalds | Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins |
| Jon Smirl | Re: VCS comparison table |
| Junio C Hamano | Re: [PATCH] Teach remote machinery about remotes.default config variable |
| Dmitry Kakurin | Re: Git on MSys (or how to make it easy for Windows users to compile git) |
| Octavian Purdila | race in skb_splice_bits? |
| Wolfgang Walter | Re: Kernel oops with 2.6.26, padlock and ipsec: probably problem with fpu state ch... |
| Ingo Molnar | Re: [bug, netconsole, SLUB] BUG skbuff_head_cache: Poison overwritten |
| Rick Jones | Re: 2.6.24 BUG: soft lockup - CPU#X |
| Richard Stallman | Real men don't attack straw men |
| chefren | Kuro5hin: OpenBSD Founder Theo deRaadt Has Conflict of Interest With AMD |
| Pieter Verberne | File collision while using pkg_add |
| Jason Dixon | Re: Hardware recommendation for firewalls (more than 4 NICs) |
