On Sat, Feb 05, 2011 at 08:10:37PM +0100, Michael Prokop wrote:
[..snip..] 
> I'd just like to add, that I have a use case where I'd like to build
> starting from the current directory, even though the .git directory
> is in an upper directory. Currently I've to 'mkdir .git ;
> git-buildpackage .... ; rmdir .git' to get git-buildpackage working
> with the tree in $CWD which isn't the root of the repo.
> 
> Maybe the:
> 
>     try:
>         repo = GitRepository(os.path.curdir)
> 
> in git-buildpackage could just be ignored if using an option like
> --git-ignore-currentdir as an initial step towards the feature we're
> discussing here? Guido, what do you think about that?

Would it be o.k. to keep the restriction that you need to build/run
git-dch from the directory that is the parent of the debian/ directory? 

Not requiring that get's us into more trouble as it's worth (where do we
start to search for config files, what's the output dir relative to,
etc.).
Cheers,
 -- Guido




-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to