From: martin rudalics <rudalics@gmx.at>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: tabs, git diff and git apply
Date: Sat, 28 Nov 2020 11:28:16 +0100 [thread overview]
Message-ID: <7f952834-eed5-0884-80f9-4702663ed37b@gmx.at> (raw)
In-Reply-To: <87v9dp230t.fsf@linux-m68k.org>
>>> 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$
next prev parent reply other threads:[~2020-11-28 10:28 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-28 9:29 tabs, git diff and git apply martin rudalics
2020-11-28 9:39 ` Andreas Schwab
2020-11-28 10:15 ` martin rudalics
2020-11-28 10:23 ` Andreas Schwab
2020-11-28 10:28 ` martin rudalics [this message]
2020-11-28 12:08 ` Andreas Schwab
2020-11-28 12:45 ` martin rudalics
2020-11-28 13:34 ` Andreas Schwab
2020-11-28 14:20 ` martin rudalics
2020-11-28 17:27 ` Alfred M. Szmidt
2020-11-28 18:23 ` martin rudalics
2020-11-28 18:52 ` Alfred M. Szmidt
2020-11-29 8:21 ` martin rudalics
2020-11-29 9:13 ` Alfred M. Szmidt
2020-11-29 9:52 ` martin rudalics
2020-11-29 9:56 ` Yuri Khan
2020-11-28 14:40 ` Stefan Monnier
2020-11-28 15:45 ` martin rudalics
2020-11-28 16:47 ` Stefan Monnier
2020-11-28 18:22 ` martin rudalics
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7f952834-eed5-0884-80f9-4702663ed37b@gmx.at \
--to=rudalics@gmx.at \
--cc=emacs-devel@gnu.org \
--cc=schwab@linux-m68k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.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).