qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] add scripts/indent.sh
@ 2015-09-03 10:42 Gerd Hoffmann
  0 siblings, 0 replies; 10+ messages in thread
From: Gerd Hoffmann @ 2015-09-03 10:42 UTC (permalink / raw)
  To: qemu-devel; +Cc: Gerd Hoffmann, Kővágó Zoltán

---
 scripts/indent.sh | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100755 scripts/indent.sh

diff --git a/scripts/indent.sh b/scripts/indent.sh
new file mode 100755
index 0000000..8f045ec
--- /dev/null
+++ b/scripts/indent.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+#
+# indent wrapper script, with args to format
+# source code according to qemu coding style.
+#
+indent	--ignore-profile	\
+	--k-and-r-style		\
+	--line-length 80	\
+	--indent-level 4	\
+	--no-tabs		\
+	"$@"
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [Qemu-devel] [PATCH] add scripts/indent.sh
@ 2017-07-17 10:17 Gerd Hoffmann
  2017-07-17 10:36 ` Marc-André Lureau
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Gerd Hoffmann @ 2017-07-17 10:17 UTC (permalink / raw)
  To: qemu-devel; +Cc: Gerd Hoffmann

Script to reformat sources in qemu style.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 scripts/indent.sh | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100755 scripts/indent.sh

diff --git a/scripts/indent.sh b/scripts/indent.sh
new file mode 100755
index 0000000000..8f045ecb1d
--- /dev/null
+++ b/scripts/indent.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+#
+# indent wrapper script, with args to format
+# source code according to qemu coding style.
+#
+indent	--ignore-profile	\
+	--k-and-r-style		\
+	--line-length 80	\
+	--indent-level 4	\
+	--no-tabs		\
+	"$@"
-- 
2.9.3

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

end of thread, other threads:[~2017-08-29 16:33 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-03 10:42 [Qemu-devel] [PATCH] add scripts/indent.sh Gerd Hoffmann
  -- strict thread matches above, loose matches on Subject: below --
2017-07-17 10:17 Gerd Hoffmann
2017-07-17 10:36 ` Marc-André Lureau
2017-07-17 10:49   ` Gerd Hoffmann
2017-07-17 10:58     ` Marc-André Lureau
2017-07-17 11:14       ` Gerd Hoffmann
2017-08-29 16:33         ` Marc-André Lureau
2017-07-17 10:43 ` Peter Maydell
2017-07-17 18:11 ` no-reply
2017-07-17 19:54   ` Peter Maydell

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 NNTP newsgroup(s).