git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git bug/feature request

From
Daniel Barkalow <barkalow@iabervon.org>
Date
Nov 27, 2007, 20:34 UTC
Message-ID
<Pine.LNX.4.64.0711271519450.5349@iabervon.org>
In-Reply-To
<200711271127.41161.gapon007@gmail.com>
On Tue, 27 Nov 2007, gapon wrote:
Show 15 quoted lines
> hi all,
> first of all i don't know if there's a bugzilla or something similar for git - 
> i have found just this email (on http://git.or.cz/ webpage).
> 
> i have discovered "weird" behaviour of git in this scenario*:
> - user A is working in repo A
> - user B clones repo A
> - user B makes some changes, commits, pushes
> - user A makes some changes, git status (no info about new commit in his repo 
> from user B but it's probably ok i'd say - but some of my files are marked as 
> changed and already added to index  but i haven't changed them - that's 
> confusing, isn't it?)
> - user A can commit his changes => shouldn't be there any info/message/warning 
> displayed? it would be helpful to have here some info about "foreign commit" 
> in the repo or something like this

This is kind of a fundamentally crazy thing to do; it's like a CVS user committing to somebody else's working directory instead of to the central repository. As you might expect, the system is confused because the info of what version is checked out is changed without the checked-out files getting changed. This should probably be kept from happening in some fashion, not reported to the user after the fact.

	-Daniel
*This .sig left intentionally blank*
Previous: Daniel Barkalow
Message 22 of 22 in “git bug/feature request”
  1. gaponNov 27, 2007
  2. Benoit SigoureNov 27, 2007
  3. gaponNov 27, 2007
  4. Jakub NarebskiNov 27, 2007
  5. gaponNov 27, 2007
  6. Jakub NarebskiNov 27, 2007
  7. Jakub NarebskiNov 27, 2007
  8. gaponNov 27, 2007
  9. Alex RiesenNov 27, 2007
  10. gaponNov 27, 2007
  11. Alex RiesenNov 27, 2007
  12. gaponNov 27, 2007
  13. Alex RiesenNov 27, 2007
  14. Jakub NarebskiNov 27, 2007
  15. Jan HudecNov 30, 2007
  16. Peter KarlssonNov 27, 2007
  17. David KastrupNov 27, 2007
  18. Peter KarlssonNov 28, 2007
  19. Jakub NarebskiNov 27, 2007
  20. Steven GrimmNov 27, 2007
  21. Daniel BarkalowNov 27, 2007
  22. Daniel BarkalowNov 27, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.