* [PATCH] Remove a tag file before it is regenerated
@ 2009-04-22 3:38 Matt Kraai
2009-04-25 7:30 ` Sam Ravnborg
0 siblings, 1 reply; 2+ messages in thread
From: Matt Kraai @ 2009-04-22 3:38 UTC (permalink / raw)
To: Sam Ravnborg, linux-kbuild; +Cc: Matt Kraai
If a tag file is not removed before it is regenerated, the newly
generated data is appended to the old, which preserves stale data and
makes the tag file grow over time.
Signed-off-by: Matt Kraai <kraai@ftbfs.org>
---
scripts/tags.sh | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/scripts/tags.sh b/scripts/tags.sh
index 5bd8b10..4a34ec5 100755
--- a/scripts/tags.sh
+++ b/scripts/tags.sh
@@ -164,10 +164,12 @@ case "$1" in
;;
"tags")
+ rm -f tags
xtags ctags
;;
"TAGS")
+ rm -f TAGS
xtags etags
;;
esac
--
1.6.2.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-04-25 7:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-22 3:38 [PATCH] Remove a tag file before it is regenerated Matt Kraai
2009-04-25 7:30 ` Sam Ravnborg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox