On Sun, 16 Sep 2007, Junio C Hamano wrote:Ok, I thought that there was common code for these different uses. could you re-read the rest of the logic based on the change being done in checkout_entry? if you are unwilling to have any changes made to the checkout_entry code then the only remaing question is what you think of Daniel's suggestion to have a hook to replace check_updates()? if it's not acceptable either then we are down to doing a post-checkout trigger. one concern I have with that approach is how to deal with partial checkouts. if a user checks out one file how can the post-checkout trigger know if it's looking at the correct permissions file as opposed to one left over from something else? can/should it go and read the file from the index instead of reading the file on the filesystem? (I don't like this becouse it leads to non-obvious behavior), or can/should there be a config option to say that whenever any file is checked out the permissions file needs to be checked out as well. a post checkout trigger is useful in enough different situations that the answers to the above questions don't eliminate the usefulness of the trigger, they just map out the pitfalls of useing it. David Lang - 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
| Klaus S. Madsen | Regression in 2.6.25-rc3: s2ram segfaults before suspending |
| Dan Hecht | Re: + stupid-hack-to-make-mainline-build.patch added to -mm tree |
| Balbir Singh | Re: 2.6.23-rc7-mm1 - 'touch' command causes Oops. |
| Arjan van de Ven | [patch] Add basic sanity checks to the syscall execution patch |
git: | |
| Nicolas Pitre | Re: [PATCH] diff-delta: produce optimal pack data |
| Catalin Marinas | Re: hgmq vs. StGIT |
| Mark Levedahl | [PATCH] git-clone - Set remotes.origin config variable |
| Junio C Hamano | Re: tracking repository |
| Richard Daemon | Re: booting openbsd on eee without cd-rom |
| Matt | Setting up a virtual hosting machine w. SSH/SFTP accounts - pitfalls/experiences? |
| Paul Greidanus | [Fwd: Open-Hardware] |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Jim Winstead Jr. | Re: Root Disk/Book Disk Compatibility |
| Paul Douglas Page | Where is mkfs? |
| Howard Wei-Hao Pan | [Q] Does Linux work with PCMCIA devices? |
| Timothy L. Kay | Use PERL rather than C for system commands? |
