Revision 7b9103cbadfc111755d2db61239fcac4f4d14a33 authored by Hariom Verma on 26 July 2020, 19:58:23 UTC, committed by Hariom Verma on 26 July 2020, 20:41:07 UTC
Currently, subject does not take any arguments. This commit introduce
`sanitize` formatting option to 'subject' atom.

`subject:sanitize` - print sanitized subject line, suitable for a filename.

Mentored-by: Christian Couder <chriscool@tuxfamily.org>
Mentored-by: Heba Waly <heba.waly@gmail.com>
Signed-off-by: Hariom Verma <hariom18599@gmail.com>
1 parent 9dc619b
Raw File
checkout.h
#ifndef CHECKOUT_H
#define CHECKOUT_H

#include "cache.h"

/*
 * Check if the branch name uniquely matches a branch name on a remote
 * tracking branch.  Return the name of the remote if such a branch
 * exists, NULL otherwise.
 */
const char *unique_tracking_name(const char *name,
				 struct object_id *oid,
				 int *dwim_remotes_matched);

#endif /* CHECKOUT_H */
back to top