On Fri, 16 May 2014, Matthias Vegh wrote:

> My second attempt was to add a symbolic link to one of the files in the 
> .git folder, which would be updated when a new commit is made. The file I 
> chose for this purpose was .git/index. I'm not sure if this is a correct 
> choice, but making a commit, and then resetting updated the times in it. 
> However, once I added the symbolic link as an input file to a rule, I 
> realized, that even though the file pointed to by the link was updated, the 
> link itself was not, so tup was unaware of the changes. 

mv .git git      # and use files under git for tup dependencies
ln -s git .git   # keep git working

is a possible workaround.

Andrei

-- 
-- 
tup-users mailing list
email: [email protected]
unsubscribe: [email protected]
options: http://groups.google.com/group/tup-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"tup-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to