"Martin Langhoff" <martin.langhoff@gmail.com> writes:Not "unsafe" in the sense that you would not be losing commit objects, but I'd feel uneasy about that. The fact that the branch tip was pointing at an older commit gets lost, and in your workflow that information is useless, but that does not necessarily mean it is useless for everybody. Perhaps it might make sense to have a checkout hook that notices the branch that is being checked out is meant to build on top of a corresponding remote tracking branch, and performs the necessary fast-forward when that is the case. Well, git couldn't, unless you tell it "I've pushed out my work, and I am done with helping with this client branch for now", and the way for you to do so is "git branch -d". Perhaps "git branch -d" should be taught to check if the tip of the deleted branch is part of the corresponding remote tracking branch, when "one local branch to track one remote branch" model is used. Its safety to forbid deleting the branch unless it is an ancestor of the "current" branch would not make sense in such a workflow. - 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
| Greg Kroah-Hartman | [PATCH 011/196] sysfs: Fix a copy-n-paste typo in comment |
| Al Boldi | Re: [ck] Re: [ANNOUNCE] RSDL completely fair starvation free interactive cpu sched... |
| Andrew Morton | 2.6.25-rc8-mm2 |
| Ingo Molnar | Re: [patch] sched_clock(): cleanups |
| David Miller | [GIT]: Networking |
| John P Poet | Realtek 8111C transmit timed out |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| Kenny Chang | Multicast packet loss |
git: | |
