[git-users] Avoid commit error when using attribute filters for Variable expansion

2014-01-31 Thread GS_gitnew
Hi, 
i'm using the .gitattributes with a script filter to expand the SHA1 and 
last commit date with the smudge and clean actions of the filter. 

The clean filter removes this changes and makes the file exactly like the 
one already in the repository.  
This makes the git commit action  to return an error since there are no 
changes to include. 

Do you know of a way to avoid this issue ? 


thanks


-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [git-users] Avoid commit error when using attribute filters for Variable expansion

2014-01-31 Thread Konstantin Khomoutov
On Fri, 31 Jan 2014 08:16:05 -0800 (PST)
GS_gitnew neldo...@gmail.com wrote:

 i'm using the .gitattributes with a script filter to expand the SHA1
 and last commit date with the smudge and clean actions of the filter. 
 
 The clean filter removes this changes and makes the file exactly like
 the one already in the repository.  
 This makes the git commit action  to return an error since there are
 no changes to include. 
 
 Do you know of a way to avoid this issue ?

What is the essense of the problem?
Do you mean Git fails to record a commit even if there really are
changes in files other than that one handled by the filters?

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.