{"thread":{"id":"58062","subject":"Git-Bug","startedAt":"2022-06-25T09:01:11Z","lastAt":"2022-06-25T12:16:58Z","messageCount":2,"participants":["Klaus Ethgen","brian m. carlson"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"457866","messageId":"YrbHPlJy/EW/Y+ON@ikki.ethgen.ch","threadId":"58062","inReplyTo":null,"subject":"Git-Bug","fromName":"Klaus Ethgen","fromEmail":"klaus@ethgen.ch","sentAt":"2022-06-25T08:28:46Z","receivedAt":"2022-06-25T09:01:11Z","isPatch":false,"sender":{"key":"klaus@ethgen.ch","avatar":null},"body":"Hi,\n\nsince some versions I have the following troubles with git:\n\nI use vcsh to manage my vim config files and pull/push them from one\nmachine to others. That was working great but now the push refuses to\nwork as it state the working tree is unclean even if it is clean:\n\n   # on the server:\n   ~> vcsh vim config receive.denyCurrentBranch\n   updateInstead\n   ~> vcsh vim config core.excludesfile\n   .gitignore.d/vim\n   ~> vcsh vim status\n   Auf Branch master\n   Ihr Branch ist auf demselben Stand wie 'origin/master'.\n\n   nichts zu committen, Arbeitsverzeichnis unverändert\n\n   # on the client:\n   ~> vcsh vim status\n   Auf Branch master\n   Ihr Branch ist 3 Commits vor 'xxxx/master'.\n     (benutzen Sie \"git push\", um lokale Commits zu publizieren)\n\n   nichts zu committen, Arbeitsverzeichnis unverändert\n   ~> vcsh vim push\n   Objekte aufzählen: 10, fertig.\n   Zähle Objekte: 100% (9/9), fertig.\n   Delta-Kompression verwendet bis zu 2 Threads.\n   Komprimiere Objekte: 100% (6/6), fertig.\n   Schreibe Objekte: 100% (6/6), 821 Bytes | 821.00 KiB/s, fertig.\n   Gesamt 6 (Delta 4), Wiederverwendet 0 (Delta 0), Pack wiederverwendet 0\n   To xxxx:.config/vcsh/repo.d/vim.git\n    ! [remote rejected] master -> master (Working directory has unstaged changes)\n   error: Fehler beim Versenden einiger Referenzen nach 'xxxx:.config/vcsh/repo.d/vim.git'\n\n`vcsh ... command` does the same ad `vcsh ... && git command`... vcsh is\na simple script that sets GIT_DIR to ~/.config/vcsh/repo.d/....git. vcsh\nis used to manage config files in $HOME but not the full directory. In\nthis example, it manages .vimrc, .gvimrc, .vim/ and .exrc.\n\nAs you can see, there is no unstaged changes but git tell me there are.\n\nI tried different things but failed to tell git that everything is clean\nand that there are no unstaged changes.\n\nOther vcsh trees are working well. I see no pattern why this one is not\nworking.\n\nRegards\n   Klaus\n\nPs. Please keep me in Cc as I am not subscribed to this list.\n-- \nKlaus Ethgen                                       http://www.ethgen.ch/\npub  4096R/4E20AF1C 2011-05-16            Klaus Ethgen <Klaus@Ethgen.ch>\nFingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C\n"},{"id":"457868","messageId":"Yrb8tJDNxEJOuU+4@tapette.crustytoothpaste.net","threadId":"58062","inReplyTo":"YrbHPlJy/EW/Y+ON@ikki.ethgen.ch","subject":"Re: Git-Bug","fromName":"brian m. carlson","fromEmail":"sandals@crustytoothpaste.net","sentAt":"2022-06-25T12:16:52Z","receivedAt":"2022-06-25T12:16:58Z","isPatch":false,"sender":{"key":"sandals@crustytoothpaste.net","avatar":"https://avatars.githubusercontent.com/u/497054?v=4"},"body":"On 2022-06-25 at 08:28:46, Klaus Ethgen wrote:\n> Hi,\n> \n> since some versions I have the following troubles with git:\n> \n> I use vcsh to manage my vim config files and pull/push them from one\n> machine to others. That was working great but now the push refuses to\n> work as it state the working tree is unclean even if it is clean:\n> \n>    # on the server:\n>    ~> vcsh vim config receive.denyCurrentBranch\n>    updateInstead\n>    ~> vcsh vim config core.excludesfile\n>    .gitignore.d/vim\n>    ~> vcsh vim status\n>    Auf Branch master\n>    Ihr Branch ist auf demselben Stand wie 'origin/master'.\n> \n>    nichts zu committen, Arbeitsverzeichnis unverändert\n> \n>    # on the client:\n>    ~> vcsh vim status\n>    Auf Branch master\n>    Ihr Branch ist 3 Commits vor 'xxxx/master'.\n>      (benutzen Sie \"git push\", um lokale Commits zu publizieren)\n> \n>    nichts zu committen, Arbeitsverzeichnis unverändert\n>    ~> vcsh vim push\n>    Objekte aufzählen: 10, fertig.\n>    Zähle Objekte: 100% (9/9), fertig.\n>    Delta-Kompression verwendet bis zu 2 Threads.\n>    Komprimiere Objekte: 100% (6/6), fertig.\n>    Schreibe Objekte: 100% (6/6), 821 Bytes | 821.00 KiB/s, fertig.\n>    Gesamt 6 (Delta 4), Wiederverwendet 0 (Delta 0), Pack wiederverwendet 0\n>    To xxxx:.config/vcsh/repo.d/vim.git\n>     ! [remote rejected] master -> master (Working directory has unstaged changes)\n>    error: Fehler beim Versenden einiger Referenzen nach 'xxxx:.config/vcsh/repo.d/vim.git'\n> \n> `vcsh ... command` does the same ad `vcsh ... && git command`... vcsh is\n> a simple script that sets GIT_DIR to ~/.config/vcsh/repo.d/....git. vcsh\n> is used to manage config files in $HOME but not the full directory. In\n> this example, it manages .vimrc, .gvimrc, .vim/ and .exrc.\n> \n> As you can see, there is no unstaged changes but git tell me there are.\n> \n> I tried different things but failed to tell git that everything is clean\n> and that there are no unstaged changes.\n\nDo you have files that would be unstaged after you pushed?  Are there\nignored files in that directory that would conflict with what you've\npushed?\n-- \nbrian m. carlson (he/him or they/them)\nToronto, Ontario, CA\n"}]}