From: Steven Rostedt <rostedt@goodmis.org>
To: Matt Mackall <mpm@selenic.com>
Cc: Esben Nielsen <simlo@phys.au.dk>,
Michal Schmidt <xschmi00@stud.feec.vutbr.cz>,
linux-kernel@vger.kernel.org
Subject: Re: [ketchup] patch to allow for moving of .gitignore in 2.6.14
Date: Fri, 28 Oct 2005 10:49:30 -0400 [thread overview]
Message-ID: <1130510970.9574.82.camel@localhost.localdomain> (raw)
In-Reply-To: <1130504043.9574.56.camel@localhost.localdomain>
On Fri, 2005-10-28 at 08:54 -0400, Steven Rostedt wrote:
> Hi Matt,
>
> Here's a small patch to ketchup to make it move the .gitignore that is
> now included in 2.6.14.
>
> -- Steve
>
> Index: Ketchup-d9503020b3c1/ketchup
> ===================================================================
> --- Ketchup-d9503020b3c1.orig/ketchup 2005-10-28 08:38:50.000000000 -0400
> +++ Ketchup-d9503020b3c1/ketchup 2005-10-28 08:48:37.000000000 -0400
> @@ -482,7 +482,7 @@
> error("Unpacking failed: ", err)
> sys.exit(-1)
>
> - err = os.system("mv linux*/* . ; rmdir linux*")
> + err = os.system("mv linux*/* linux*/.git* . ; rmdir linux*")
> if err:
> error("Unpacking failed: ", err)
> sys.exit(-1)
>
Unfortunately, the above shows an error message (but does not fail) for
2.6.13. Here's a better updated fix/hack to allow for either
having .gitignore, or not.
-- Steve
Index: Ketchup-d9503020b3c1/ketchup
===================================================================
--- Ketchup-d9503020b3c1.orig/ketchup 2005-10-28 08:38:50.000000000 -0400
+++ Ketchup-d9503020b3c1/ketchup 2005-10-28 10:45:43.000000000 -0400
@@ -482,7 +482,7 @@
error("Unpacking failed: ", err)
sys.exit(-1)
- err = os.system("mv linux*/* . ; rmdir linux*")
+ err = os.system("shopt -s dotglob; mv linux*/* . ; rmdir linux*")
if err:
error("Unpacking failed: ", err)
sys.exit(-1)
next prev parent reply other threads:[~2005-10-28 14:49 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-17 7:38 ketchup+rt with ktimers added Steven Rostedt
2005-10-17 21:39 ` Matt Mackall
2005-10-18 6:20 ` Steven Rostedt
2005-10-18 6:30 ` Matt Mackall
2005-10-18 6:45 ` Steven Rostedt
2005-10-18 7:29 ` Matt Mackall
2005-10-28 12:54 ` [ketchup] patch to allow for moving of .gitignore in 2.6.14 Steven Rostedt
2005-10-28 13:35 ` [ketchup] patch to alt urls for local trees Steven Rostedt
2005-10-28 17:00 ` Matt Mackall
2005-10-28 20:46 ` Steven Rostedt
2005-10-30 19:53 ` Matt Mackall
2005-10-28 14:49 ` Steven Rostedt [this message]
2005-10-29 21:06 ` [ketchup] patch to allow for moving of .gitignore in 2.6.14 Steven Rostedt
2005-10-29 21:06 ` Matt Mackall
2005-10-29 23:56 ` Steven Rostedt
2005-10-30 1:19 ` David Weinehall
2005-10-30 2:10 ` Steven Rostedt
2005-10-30 3:48 ` Steven Rostedt
2005-10-30 6:56 ` Patrick McFarland
2005-10-30 17:59 ` Matt Mackall
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1130510970.9574.82.camel@localhost.localdomain \
--to=rostedt@goodmis.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mpm@selenic.com \
--cc=simlo@phys.au.dk \
--cc=xschmi00@stud.feec.vutbr.cz \
/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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.