git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Git-Bug
@ 2022-06-25  8:28 Klaus Ethgen
  2022-06-25 12:16 ` Git-Bug brian m. carlson
  0 siblings, 1 reply; 2+ messages in thread
From: Klaus Ethgen @ 2022-06-25  8:28 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 2245 bytes --]

Hi,

since some versions I have the following troubles with git:

I use vcsh to manage my vim config files and pull/push them from one
machine to others. That was working great but now the push refuses to
work as it state the working tree is unclean even if it is clean:

   # on the server:
   ~> vcsh vim config receive.denyCurrentBranch
   updateInstead
   ~> vcsh vim config core.excludesfile
   .gitignore.d/vim
   ~> vcsh vim status
   Auf Branch master
   Ihr Branch ist auf demselben Stand wie 'origin/master'.

   nichts zu committen, Arbeitsverzeichnis unverändert

   # on the client:
   ~> vcsh vim status
   Auf Branch master
   Ihr Branch ist 3 Commits vor 'xxxx/master'.
     (benutzen Sie "git push", um lokale Commits zu publizieren)

   nichts zu committen, Arbeitsverzeichnis unverändert
   ~> vcsh vim push
   Objekte aufzählen: 10, fertig.
   Zähle Objekte: 100% (9/9), fertig.
   Delta-Kompression verwendet bis zu 2 Threads.
   Komprimiere Objekte: 100% (6/6), fertig.
   Schreibe Objekte: 100% (6/6), 821 Bytes | 821.00 KiB/s, fertig.
   Gesamt 6 (Delta 4), Wiederverwendet 0 (Delta 0), Pack wiederverwendet 0
   To xxxx:.config/vcsh/repo.d/vim.git
    ! [remote rejected] master -> master (Working directory has unstaged changes)
   error: Fehler beim Versenden einiger Referenzen nach 'xxxx:.config/vcsh/repo.d/vim.git'

`vcsh ... command` does the same ad `vcsh ... && git command`... vcsh is
a simple script that sets GIT_DIR to ~/.config/vcsh/repo.d/....git. vcsh
is used to manage config files in $HOME but not the full directory. In
this example, it manages .vimrc, .gvimrc, .vim/ and .exrc.

As you can see, there is no unstaged changes but git tell me there are.

I tried different things but failed to tell git that everything is clean
and that there are no unstaged changes.

Other vcsh trees are working well. I see no pattern why this one is not
working.

Regards
   Klaus

Ps. Please keep me in Cc as I am not subscribed to this list.
-- 
Klaus Ethgen                                       http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16            Klaus Ethgen <Klaus@Ethgen.ch>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 688 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Git-Bug
  2022-06-25  8:28 Git-Bug Klaus Ethgen
@ 2022-06-25 12:16 ` brian m. carlson
  0 siblings, 0 replies; 2+ messages in thread
From: brian m. carlson @ 2022-06-25 12:16 UTC (permalink / raw)
  To: Klaus Ethgen; +Cc: git

[-- Attachment #1: Type: text/plain, Size: 2219 bytes --]

On 2022-06-25 at 08:28:46, Klaus Ethgen wrote:
> Hi,
> 
> since some versions I have the following troubles with git:
> 
> I use vcsh to manage my vim config files and pull/push them from one
> machine to others. That was working great but now the push refuses to
> work as it state the working tree is unclean even if it is clean:
> 
>    # on the server:
>    ~> vcsh vim config receive.denyCurrentBranch
>    updateInstead
>    ~> vcsh vim config core.excludesfile
>    .gitignore.d/vim
>    ~> vcsh vim status
>    Auf Branch master
>    Ihr Branch ist auf demselben Stand wie 'origin/master'.
> 
>    nichts zu committen, Arbeitsverzeichnis unverändert
> 
>    # on the client:
>    ~> vcsh vim status
>    Auf Branch master
>    Ihr Branch ist 3 Commits vor 'xxxx/master'.
>      (benutzen Sie "git push", um lokale Commits zu publizieren)
> 
>    nichts zu committen, Arbeitsverzeichnis unverändert
>    ~> vcsh vim push
>    Objekte aufzählen: 10, fertig.
>    Zähle Objekte: 100% (9/9), fertig.
>    Delta-Kompression verwendet bis zu 2 Threads.
>    Komprimiere Objekte: 100% (6/6), fertig.
>    Schreibe Objekte: 100% (6/6), 821 Bytes | 821.00 KiB/s, fertig.
>    Gesamt 6 (Delta 4), Wiederverwendet 0 (Delta 0), Pack wiederverwendet 0
>    To xxxx:.config/vcsh/repo.d/vim.git
>     ! [remote rejected] master -> master (Working directory has unstaged changes)
>    error: Fehler beim Versenden einiger Referenzen nach 'xxxx:.config/vcsh/repo.d/vim.git'
> 
> `vcsh ... command` does the same ad `vcsh ... && git command`... vcsh is
> a simple script that sets GIT_DIR to ~/.config/vcsh/repo.d/....git. vcsh
> is used to manage config files in $HOME but not the full directory. In
> this example, it manages .vimrc, .gvimrc, .vim/ and .exrc.
> 
> As you can see, there is no unstaged changes but git tell me there are.
> 
> I tried different things but failed to tell git that everything is clean
> and that there are no unstaged changes.

Do you have files that would be unstaged after you pushed?  Are there
ignored files in that directory that would conflict with what you've
pushed?
-- 
brian m. carlson (he/him or they/them)
Toronto, Ontario, CA

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 263 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-25 12:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-25  8:28 Git-Bug Klaus Ethgen
2022-06-25 12:16 ` Git-Bug brian m. carlson

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).