ant-git-macros icon indicating copy to clipboard operation
ant-git-macros copied to clipboard

<exec>'s dir attribute not usable in derived macros

Open snktagarwal opened this issue 13 years ago • 1 comments

I am working on a project where I had cloned your repo for the build.xml file. Though most scripts do not like to work in git dir's themselves. Though it is a better idea to give exec the dir attribute to effectively switch directories. Or effectively give git --git-dir. Your code exposes the dir attribute of exec only in the "git" macro, you should change other macros to include "dir" attribute and then maybe trickle them down to "git" command itself.

snktagarwal avatar May 25 '11 06:05 snktagarwal

Similarly goes for options,

snktagarwal avatar May 25 '11 07:05 snktagarwal