pm-graph: ignore sleepgraph.py artifacts
PATCH 1/1 pm-graph: ignore sleepgraph.py artifacts
By default, sleepgraph.py creates suspend-{date}-{time} directories to store artifacts, or suspend-{date}-{time}-xN if the --multi option is used. Ignore those directories by adding a .gitignore file.
--- tools/power/pm-graph/.gitignore | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 tools/power/pm-graph/.gitignore
tools/power/pm-graph/.gitignore new file +3 -0
@@ -0,0 +1,3 @@ +# sleepgraph.py artifacts +suspend-[0-9]*-[0-9]* +suspend-[0-9]*-[0-9]*-x[0-9]*
Signature · 1 line
2.34.1
Todd Brandt
maintainerQuoted 17 lines · Yo-Jung (Leo) Lin
By default,
sleepgraph.pycreates suspend-{date}-{time} directories to store artifacts, or suspend-{date}-{time}-xN if the --multi option is used. Ignore those directories by adding a .gitignore file.Signed-off-by Yo-Jung (Leo) Lin <[email protected]>---
tools/power/pm-graph/.gitignore | 3 +++1 file changed, 3 insertions(+)create mode 100644
tools/power/pm-graph/.gitignoretools/power/pm- renamed from tools/power/pm-graph/.gitignore +0
-0graph/.gitignore
new file mode 100644
index 000000000000..37762a8a06d6
tools/power/pm-graph/.gitignore line 3
Quoted 3 lines
tools/power/pm-graph/.gitignore new file +3
-0@@ -0,0 +1,3 @@ +# sleepgraph.py artifacts +suspend-[0-9]*-[0-9]* +suspend-[0-9]*-[0-9]*-x[0-9]*
This seems fine. If you run the tool inside the tools/power/pm-graph folder I can see how it would be annoying to have all those output directories show up in git status.
Quoted 17 lines · Yo-Jung (Leo) Lin
By default,
sleepgraph.pycreates suspend-{date}-{time} directories to store artifacts, or suspend-{date}-{time}-xN if the --multi option is used. Ignore those directories by adding a .gitignore file.Signed-off-by Yo-Jung (Leo) Lin <[email protected]>---
tools/power/pm-graph/.gitignore | 3 +++1 file changed, 3 insertions(+)create mode 100644
tools/power/pm-graph/.gitignoretools/power/pm- renamed from tools/power/pm-graph/.gitignore +0
-0graph/.gitignore
new file mode 100644
index 000000000000..37762a8a06d6
tools/power/pm-graph/.gitignore line 3
Quoted 3 lines
tools/power/pm-graph/.gitignore new file +3
-0@@ -0,0 +1,3 @@ +# sleepgraph.py artifacts +suspend-[0-9]*-[0-9]* +suspend-[0-9]*-[0-9]*-x[0-9]*
This seems fine. If you run the tool inside the tools/power/pm-graph folder I can see how it would be annoying to have all those output directories show up in git status. (re-send with Acked-by)
Rafael J. Wysocki
AppliedQuoted 26 lines · Todd Brandt
Quoted 17 lines · Yo-Jung (Leo) Lin
By default,
sleepgraph.pycreates suspend-{date}-{time} directories to store artifacts, or suspend-{date}-{time}-xN if the --multi option is used. Ignore those directories by adding a .gitignore file.Signed-off-by Yo-Jung (Leo) Lin <[email protected]>--- tools/power/pm-graph/.gitignore | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 tools/power/pm-graph/.gitignoretools/power/pm- renamed from tools/power/pm-graph/.gitignore +0
-0graph/.gitignore
new file mode 100644
index 000000000000..37762a8a06d6tools/power/pm-graph/.gitignore line 3
Quoted 3 lines
tools/power/pm-graph/.gitignore new file +3
-0@@ -0,0 +1,3 @@ +# sleepgraph.py artifacts +suspend-[0-9]*-[0-9]* +suspend-[0-9]*-[0-9]*-x[0-9]*This seems fine. If you run the tool inside the
tools/power/pm-graphfolder I can see how it would be annoying to have all those output directories show up in git status. (re-send with Acked-by)
Quoted 1 line
Acked-by Todd Brandt <[email protected]>
Applied as 6.12 material, thanks!