From dac36c1bce619b0914b3ed9d15910df312af45d6 Mon Sep 17 00:00:00 2001 From: Andreas Gruenbacher Date: Wed, 15 Mar 2006 19:35:48 +0000 Subject: - quilt/edit.in: Fix for working in subdirectories. --- test/edit.test | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'test/edit.test') diff --git a/test/edit.test b/test/edit.test index 5cc5dba..4c4c542 100644 --- a/test/edit.test +++ b/test/edit.test @@ -5,16 +5,21 @@ $ cd d $ cat > editor < #! /bin/sh < echo Editing $1 -< echo foo > $1 +< sed -e 's:foo:bar:' $1 > $1.new +< mv $1.new $1 $ chmod +x editor $ export EDITOR=%PWD/editor $ quilt new patch > Patch patches/patch is now on top $ cd subdir +$ echo foo > foo $ quilt edit foo > File subdir/foo added to patch ../patches/patch -> Editing foo +> Editing subdir/foo + +$ cat foo +> bar $ cd ../.. $ rm -rf d -- cgit