I often find myself in branch A, with everything checked in and compiled, wanting to look at something on branch B. I hop to branch B, look, and come back to branch A. Unfortunately, when I then do a make, files that differed between A and B will be recompiled, as well as any further dependencies. I wonder if it would be possible or desirable to have a config flag that told git to restore the timestamps across branch checkouts in order to prevent this perturbation. So, when git does a checkout of a branch, it would look to see which files in the current branch are changed, tuck away the timestamps for those, and switch to the new branch. On return to the former, the same would be done for the new branch, then after the changed files were restored, the timestamps would be reset. One thing this would enable is to be able to hold the compilation products of multiple branches at the same time in the same working tree, switch back and forth between branches, and only have to compile code that you actually modify. Currently, we store compilation products in a directory that is composed of the architecture, compiler, compiler options, and so forth, among which also could be the branch name. Anyway, just an idea I thought worth batting about. Bill - 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
| Jeff Garzik | [PATCH 4/9] irq-remove: driver non-trivial |
| Kristen Carlson Accardi | [PATCH] ata: ahci: power off unused ports |
| Damien Wyart | Re: ACPI power off regression in 2.6.23-rc8 (NOT in rc7) |
| Nicholas A. Bellinger | Re: Integration of SCST in the mainstream Linux kernel |
git: | |
| Shawn O. Pearce | Re: [PATCH resend] make "git push" update origin and mirrors, "git push --mirror" ... |
| Evan Carroll | Git-submodule questions |
| Russ Brown | git-svn: Branching clarifications |
| Wink Saville | Resolving conflicts |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Chris | Prolific USB-Serial Controller |
| Matt | IBM ServeRaid 5i - installer unable to find disks |
| Amarendra Godbole | Anyone from this list at BlackHat or DefCon? And a query... |
| Brooks Davis | Re: When will ZFS become stable? |
| Marian Hettwer | mpt0: QUEUE FULL EVENT: Bus 0x00 Target 0x04 Depth 129 |
| Ulrich Spoerlein | OpenBSD finds 33 year old bug in yacc(1) |
| Duncan Young | zfs and glabel |
| SMDK2410 LCD Framebuffer driver | 42 minutes ago | Linux kernel |
| Resetting the bios password for Toshiba Laptop | 1 hour ago | Hardware |
| Problem booting a barebone kernel in VMWare | 4 hours ago | Linux kernel |
| IP layer send packet | 8 hours ago | Linux kernel |
| PID to ELF image full path | 11 hours ago | Linux kernel |
| types of kernel | 1 day ago | Linux kernel |
| magical mounts | 2 days ago | Linux kernel |
| Problem in scim in Fedora 9 | 2 days ago | Linux general |
| The new Western Digital power saving drives | 2 days ago | Hardware |
| Battery Maximizer Software | 3 days ago | Linux kernel |
