On 10/22/07, Andreas Ericsson <ae@op5.se> wrote:[cut] It would be I think possible to make git behave as you want, although I'd rather (at least at first) have behaviour described above turned on by some option or config variable. I guess that it would be not that hard to make script to do what you ant (and probably it would be best if you tried your idea that way). There are the following caveats. 1. For each local branch that is to be updated on pull, this branch must be marked as tracking some branch of some repository. This has to be explicitely done; for example by creating those branches using --track option. 2. Git can do a merge with conflicts _only_ if that branch is checked out. So for all local branches which you want to get updated using "git pull --update-all <repo>" (or something like that), the merge with remote branch should be either fast-forward, trivial merge, or merge without conflicts. "git pull --update-all <repo>" would return then list of updated branches and list of branches which cannot be updated. So... are you going to try to implement that? -- Jakub Narebski - 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
| Nick Piggin | Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS] |
| Greg KH | Linux 2.6.26.3 |
| Vladislav Bolkhovitin | Re: Integration of SCST in the mainstream Linux kernel |
| Greg KH | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
git: | |
| David Symonds | Re: git and binary files |
| Sam Song | Fwd: [OT] Re: Git via a proxy server? |
| Linus Torvalds | Re: [PATCH 0/6] Initial subproject support (RFC?) |
| Petr Baudis | Re: repo.or.cz wishes? |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Jeff Garzik | Re: Wasting our Freedom |
| Alexey Suslikov | OT: OpenBSD on Asus eeePC |
| ropers | Re: Real men don't attack straw men |
| David Howells | [PATCH 6/7] FS-Cache: CacheFiles: ia64: missing copy_page export [try #13] |
| Valdis.Kletnieks | Re: [RFD] Incremental fsck |
| Chris Mason | Re: [PATCH][RFC] fast file mapping for loop |
| Nikolai Joukov | Re: [ANNOUNCE] RAIF: Redundant Array of Independent Filesystems |
