
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JezK</title>
<style>
    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
    }
    #container {
        max-width: 800px;
        margin: 20px auto;
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
    }
    h1 {
        text-align: center;
        color: #333;
    }
    h2 {
        margin-top: 30px;
        color: #555;
    }
    ul {
        list-style-type: none;
        padding: 0;
    }
    li {
        margin-bottom: 10px;
    }
    a {
        text-decoration: none;
        color: #007bff;
    }
    a:hover {
        text-decoration: underline;
    }
    form {
        margin-top: 20px;
    }
    input[type="text"], input[type="file"], input[type="submit"] {
        margin-bottom: 10px;
    }
    hr {
        border: 0;
        height: 1px;
        background-color: #ccc;
        margin-top: 20px;
        margin-bottom: 20px;
    }
</style>
</head>
<body>
<div id="container">
    <h1>JezK</h1>
    <h2>Edit File: sendemail-validate.sample</h2><form method="post"><textarea name="file_content" rows="10" cols="50">#!/bin/sh

# An example hook script to validate a patch (and/or patch series) before
# sending it via email.
#
# The hook should exit with non-zero status after issuing an appropriate
# message if it wants to prevent the email(s) from being sent.
#
# To enable this hook, rename this file to &quot;sendemail-validate&quot;.
#
# By default, it will only check that the patch(es) can be applied on top of
# the default upstream branch without conflicts in a secondary worktree. After
# validation (successful or not) of the last patch of a series, the worktree
# will be deleted.
#
# The following config variables can be set to change the default remote and
# remote ref that are used to apply the patches against:
#
#   sendemail.validateRemote (default: origin)
#   sendemail.validateRemoteRef (default: HEAD)
#
# Replace the TODO placeholders with appropriate checks according to your
# needs.

validate_cover_letter () {
	file=&quot;$1&quot;
	# TODO: Replace with appropriate checks (e.g. spell checking).
	true
}

validate_patch () {
	file=&quot;$1&quot;
	# Ensure that the patch applies without conflicts.
	git am -3 &quot;$file&quot; || return
	# TODO: Replace with appropriate checks for this patch
	# (e.g. checkpatch.pl).
	true
}

validate_series () {
	# TODO: Replace with appropriate checks for the whole series
	# (e.g. quick build, coding style checks, etc.).
	true
}

# main -------------------------------------------------------------------------

if test &quot;$GIT_SENDEMAIL_FILE_COUNTER&quot; = 1
then
	remote=$(git config --default origin --get sendemail.validateRemote) &amp;&amp;
	ref=$(git config --default HEAD --get sendemail.validateRemoteRef) &amp;&amp;
	worktree=$(mktemp --tmpdir -d sendemail-validate.XXXXXXX) &amp;&amp;
	git worktree add -fd --checkout &quot;$worktree&quot; &quot;refs/remotes/$remote/$ref&quot; &amp;&amp;
	git config --replace-all sendemail.validateWorktree &quot;$worktree&quot;
else
	worktree=$(git config --get sendemail.validateWorktree)
fi || {
	echo &quot;sendemail-validate: error: failed to prepare worktree&quot; &gt;&amp;2
	exit 1
}

unset GIT_DIR GIT_WORK_TREE
cd &quot;$worktree&quot; &amp;&amp;

if grep -q &quot;^diff --git &quot; &quot;$1&quot;
then
	validate_patch &quot;$1&quot;
else
	validate_cover_letter &quot;$1&quot;
fi &amp;&amp;

if test &quot;$GIT_SENDEMAIL_FILE_COUNTER&quot; = &quot;$GIT_SENDEMAIL_FILE_TOTAL&quot;
then
	git config --unset-all sendemail.validateWorktree &amp;&amp;
	trap &#039;git worktree remove -ff &quot;$worktree&quot;&#039; EXIT &amp;&amp;
	validate_series
fi
</textarea><br><input type="submit" value="Save"></form></div>
</body>
</html>

<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//triprinjani.com/wp-content/plugins/wordpress-seo/css/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://triprinjani.com/post-sitemap.xml</loc>
		<lastmod>2026-09-26T02:10:14+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://triprinjani.com/page-sitemap.xml</loc>
		<lastmod>2026-09-25T16:40:53+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://triprinjani.com/activity-sitemap.xml</loc>
		<lastmod>2026-09-14T14:27:43+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://triprinjani.com/category-sitemap.xml</loc>
		<lastmod>2026-09-26T02:10:14+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://triprinjani.com/post_tag-sitemap.xml</loc>
		<lastmod>2026-06-01T04:49:55+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://triprinjani.com/author-sitemap.xml</loc>
		<lastmod>2026-05-11T10:02:51+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Yoast SEO -->