committing.rb revision 81da36894af70bbb8d8e24b004026ad4c5c1bc99
# depends on GitRepository
# delete a single file and commit the change
&block)
end
# add a single file and commit the change
&block)
end
# change a single file and commit the change
# throw exception if path is below a file
end
else
end
options = {}
end
# iff "file.txt" is a file in the repository
return false if empty?
return false unless target_path
rescue NoMethodError => e
true
else
raise e
end
end
end