Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 5360a80432
Fetching contributors…

Cannot retrieve contributors at this time

executable file 16 lines (13 sloc) 0.347 kb
#!/bin/bash
#
# FILE
# is_media_repo
#
# DESCRIPTION
# Returns true if this is a media repository; false otherwise.
#
# transport=`/usr/bin/git config --get git-media.transport`
# is_media_repo=`test $transport`
# exit $is_media_repo
([[ ! -d .git ]] || [[ `find . -name .gitattributes -exec grep filter=media {} \;` == "" ]]) && exit 1
exit 0
Jump to Line
Something went wrong with that request. Please try again.