Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion gitreceive
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,9 @@ trigger_receiver() {
while read oldrev newrev refname; do
# Only run this script for the master branch. You can remove this
# if block if you wish to run it for others as well.
[[ "$refname" == "refs/heads/master" ]] && \
if [[ "$refname" == "refs/heads/master" ]]; then
git archive "$newrev" | "$home_dir/receiver" "$repo" "$newrev" "$user" "$fingerprint"
fi
done
}

Expand Down