Re: git bug/feature request

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Peter Karlsson
Date: Tuesday, November 27, 2007 - 7:35 am

gapon:


Yeah, I have run into it several times myself, and that is being both
user A and B at the same time. The problem seems to be that git allows
you to push into a repository which has a check-out, causing it to
change states in a subtle way. That's just plain broken.

Git should either handle it somehow (perhaps by forcing the push into a
new branch, which the pushee needs name), or just plainly refuse to
push into a repository with a check-out.

I have learned to work around this problem by always pulling between my
repositories, not pulling. I could probably have worked around it by
having a master repository that is bare, but I have found that
difficult because I am tracking an upstream non-Git repository, so to
push and pull changes from that, I need a repository where I can have a
check-out.


Yeah. It's even more irritating that recovering from the error state is
difficult as well.

-- 
\\// Peter - http://www.softwolves.pp.se/
-
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
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git bug/feature request, gapon, (Tue Nov 27, 3:27 am)
Re: git bug/feature request, Benoit Sigoure, (Tue Nov 27, 3:57 am)
Re: git bug/feature request, gapon, (Tue Nov 27, 4:16 am)
Re: git bug/feature request, Alex Riesen, (Tue Nov 27, 4:21 am)
Re: git bug/feature request, gapon, (Tue Nov 27, 4:31 am)
Re: git bug/feature request, Alex Riesen, (Tue Nov 27, 6:03 am)
Re: git bug/feature request, gapon, (Tue Nov 27, 6:45 am)
Re: git bug/feature request, Peter Karlsson, (Tue Nov 27, 7:35 am)
Re: git bug/feature request, David Kastrup, (Tue Nov 27, 7:38 am)
Re: git bug/feature request, Alex Riesen, (Tue Nov 27, 9:36 am)
Re: git bug/feature request, Daniel Barkalow, (Tue Nov 27, 1:34 pm)
Re: git bug/feature request, Peter Karlsson, (Wed Nov 28, 6:30 am)