summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2004-03-09 01:01:30 +0000
committerAndreas Gruenbacher <agruen@suse.de>2004-03-09 01:01:30 +0000
commit7b3e36489996c66c1a42a7216c5f1cf2e7f7c451 (patch)
treee0277bb6f9c3efc62fcf7419297b61e11b8019b6
parent15cf9da9addbc38af3be315dd3054de1e696ca28 (diff)
downloadquilt-7b3e36489996c66c1a42a7216c5f1cf2e7f7c451.tar.gz
- Make files writeable in `quilt add' (and `quilt edit') for
working with read-only trees.
-rw-r--r--quilt.changes10
-rw-r--r--quilt/add.in2
2 files changed, 10 insertions, 2 deletions
diff --git a/quilt.changes b/quilt.changes
index 2cabe2d..5258496 100644
--- a/quilt.changes
+++ b/quilt.changes
@@ -1,10 +1,16 @@
-------------------------------------------------------------------
-Wed, Feb 25 10:45:39 CET 2004 - martin.quinson@tuxfamily.org
+Tue Mar 9 02:00:14 CET 2004 - agruen@suse.de
+
+- Make files writeable in `quilt add' (and `quilt edit') for
+ working with read-only trees.
+
+-------------------------------------------------------------------
+Wed Feb 25 10:45:39 CET 2004 - martin.quinson@tuxfamily.org
- Add completion to the edit command in bash
-------------------------------------------------------------------
-Sun, Feb 22 16:04:36 CET 2004 - martin.quinson@tuxfamily.org
+Sun Feb 22 16:04:36 CET 2004 - martin.quinson@tuxfamily.org
- Add a man page (generated automatically from -h)
diff --git a/quilt/add.in b/quilt/add.in
index ab640c9..ed601f1 100644
--- a/quilt/add.in
+++ b/quilt/add.in
@@ -121,6 +121,8 @@ do
mv -f $tmpfile $SUBDIR$file
rm -f $tmpfile
fi
+ # The original tree may be read-only.
+ chmod u+w $SUBDIR$file
fi
echo $"File $SUBDIR$file added to patch $patch"