* [PATCH] scripts/setlocalversion: shorten the make time when using svn
@ 2009-02-05 8:13 Bryan Wu
2009-02-15 7:53 ` Sam Ravnborg
0 siblings, 1 reply; 2+ messages in thread
From: Bryan Wu @ 2009-02-05 8:13 UTC (permalink / raw)
To: sam; +Cc: linux-kernel, Mike Frysinger, Bryan Wu
From: Mike Frysinger <vapier.adi@gmail.com>
Don't bother doing `svn st` as it takes a retarded amount of time when
the source is cold
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
---
scripts/setlocalversion | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
diff --git a/scripts/setlocalversion b/scripts/setlocalversion
index f6946cf..f1c4b35 100755
--- a/scripts/setlocalversion
+++ b/scripts/setlocalversion
@@ -58,14 +58,7 @@ fi
# Check for svn and a svn repo.
if rev=`svn info 2>/dev/null | grep '^Last Changed Rev'`; then
rev=`echo $rev | awk '{print $NF}'`
- changes=`svn status 2>/dev/null | grep '^[AMD]' | wc -l`
-
- # Are there uncommitted changes?
- if [ $changes != 0 ]; then
- printf -- '-svn%s%s' "$rev" -dirty
- else
- printf -- '-svn%s' "$rev"
- fi
+ printf -- '-svn%s' "$rev"
# All done with svn
exit
--
1.5.6.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] scripts/setlocalversion: shorten the make time when using svn
2009-02-05 8:13 [PATCH] scripts/setlocalversion: shorten the make time when using svn Bryan Wu
@ 2009-02-15 7:53 ` Sam Ravnborg
0 siblings, 0 replies; 2+ messages in thread
From: Sam Ravnborg @ 2009-02-15 7:53 UTC (permalink / raw)
To: Bryan Wu; +Cc: linux-kernel, Mike Frysinger
On Thu, Feb 05, 2009 at 04:13:32PM +0800, Bryan Wu wrote:
> From: Mike Frysinger <vapier.adi@gmail.com>
>
> Don't bother doing `svn st` as it takes a retarded amount of time when
> the source is cold
Applied to kbuild-fixes.
Sam
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-02-15 7:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-05 8:13 [PATCH] scripts/setlocalversion: shorten the make time when using svn Bryan Wu
2009-02-15 7:53 ` Sam Ravnborg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome