interplane.Get Omega
Read in your language

git

[Ported from github.com/git/git] Sync with Git 2.56.1

Brought by drakestapleton

branch master Branches Tags History

git / t / t7519 / fsmonitor-all-v2

21 lines · 556 bytes Raw Blame History
1#!/usr/bin/perl
2
3use strict;
4use warnings;
5#
6# An test hook script to integrate with git to test fsmonitor.
7#
8# The hook is passed a version (currently 2) and since token
9# formatted as a string and outputs to stdout all files that have been
10# modified since the given time. Paths must be relative to the root of
11# the working tree and separated by a single NUL.
12#
13#echo "$0 $*" >&2
14my ($version, $last_update_token) = @ARGV;
15
16if ($version ne 2) {
17 print "Unsupported query-fsmonitor hook version '$version'.\n";
18 exit 1;
19}
20
21print "last_update_token\0/\0"