[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tabs, git diff and git apply
From: |
martin rudalics |
Subject: |
Re: tabs, git diff and git apply |
Date: |
Sat, 28 Nov 2020 11:28:16 +0100 |
>>> What does git status tell?
>>
>> You probably mean git status after git apply.
>
> No, before.
>
>> It just lists the changed files and doesn't care about the whitespace
>> problem.
>
> This is not useful. Be precise. Don't leave anything out.
The entire sequence is:
martin@restno:~/emacs-git/trunk$ git status
Auf Branch master
Ihr Branch ist auf demselben Stand wie 'origin/master'.
Unversionierte Dateien:
(benutzen Sie "git add <Datei>...", um die Änderungen zum Commit vorzumerken)
obj-gtk-2/
obj-gtk/
obj-lucid/
obj-motif/
obj-none/
obj-ns/
obj-opt/
obj-wo/
nichts zum Commit vorgemerkt, aber es gibt unversionierte Dateien
(benutzen Sie "git add" zum Versionieren)
martin@restno:~/emacs-git/trunk$ git apply
/home/martin/temp/master..changes-2020-11-28.diff
/home/martin/temp/master..changes-2020-11-28.diff:3847: space before tab in
indent.
cont = foreach_window_1 (XWINDOW (w->contents), fn, user_data);
warning: 1 Zeile fügt Whitespace-Fehler hinzu.
martin@restno:~/emacs-git/trunk$ git status
Auf Branch master
Ihr Branch ist auf demselben Stand wie 'origin/master'.
Änderungen, die nicht zum Commit vorgemerkt sind:
(benutzen Sie "git add <Datei>...", um die Änderungen zum Commit vorzumerken)
(benutzen Sie "git checkout -- <Datei>...", um die Änderungen im
Arbeitsverzeichnis zu verwerfen)
geändert: lisp/cus-start.el
geändert: lisp/face-remap.el
geändert: lisp/mouse.el
geändert: lisp/simple.el
geändert: lisp/window.el
geändert: src/alloc.c
geändert: src/buffer.c
geändert: src/buffer.h
geändert: src/data.c
geändert: src/dispextern.h
geändert: src/dispnew.c
geändert: src/eval.c
geändert: src/font.c
geändert: src/frame.c
geändert: src/frame.h
geändert: src/indent.c
geändert: src/keyboard.c
geändert: src/lisp.h
geändert: src/nsterm.m
geändert: src/w32fns.c
geändert: src/w32term.c
geändert: src/widget.c
geändert: src/window.c
geändert: src/window.h
geändert: src/xdisp.c
geändert: src/xfaces.c
geändert: src/xmenu.c
geändert: src/xterm.c
Unversionierte Dateien:
(benutzen Sie "git add <Datei>...", um die Änderungen zum Commit vorzumerken)
obj-gtk-2/
obj-gtk/
obj-lucid/
obj-motif/
obj-none/
obj-ns/
obj-opt/
obj-wo/
keine Änderungen zum Commit vorgemerkt (benutzen Sie "git add" und/oder "git commit
-a")
martin@restno:~/emacs-git/trunk$
- tabs, git diff and git apply, martin rudalics, 2020/11/28
- Re: tabs, git diff and git apply, Andreas Schwab, 2020/11/28
- Re: tabs, git diff and git apply, martin rudalics, 2020/11/28
- Re: tabs, git diff and git apply, Andreas Schwab, 2020/11/28
- Re: tabs, git diff and git apply,
martin rudalics <=
- Re: tabs, git diff and git apply, Andreas Schwab, 2020/11/28
- Re: tabs, git diff and git apply, martin rudalics, 2020/11/28
- Re: tabs, git diff and git apply, Andreas Schwab, 2020/11/28
- Re: tabs, git diff and git apply, martin rudalics, 2020/11/28
- Re: tabs, git diff and git apply, Alfred M. Szmidt, 2020/11/28
- Re: tabs, git diff and git apply, martin rudalics, 2020/11/28
- Re: tabs, git diff and git apply, Alfred M. Szmidt, 2020/11/28
- Re: tabs, git diff and git apply, martin rudalics, 2020/11/29
- Re: tabs, git diff and git apply, Alfred M. Szmidt, 2020/11/29
- Re: tabs, git diff and git apply, martin rudalics, 2020/11/29