git-notify
Version:
Communicate important updates to your team via git commit messages
12 lines (11 loc) • 474 B
TypeScript
/// <reference types="node" />
import { Lifecycle } from './types';
/**
* Gets the second item on the reflog. In post-merge hook, this
* should be the HEAD of the branch before the merge.
*
* If this assumption turns out not to be correct, this may
* under- or over-report notifications
*/
export declare function getLastRef(): Promise<string>;
export declare function getLogStream(lifecycle: Lifecycle, args: string[]): Promise<import("stream").Readable>;