mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-10 05:34:34 +00:00

Ensure that `git_patch_from_diff` can return the patch for parsed diffs, not just generate a patch for a generated diff.
19 lines
386 B
C
19 lines
386 B
C
/*
|
|
* Copyright (C) the libgit2 contributors. All rights reserved.
|
|
*
|
|
* This file is part of libgit2, distributed under the GNU GPL v2 with
|
|
* a Linking Exception. For full terms see the included COPYING file.
|
|
*/
|
|
#ifndef INCLUDE_diff_parse_h__
|
|
#define INCLUDE_diff_parse_h__
|
|
|
|
#include "diff.h"
|
|
|
|
typedef struct {
|
|
struct git_diff base;
|
|
|
|
git_vector patches;
|
|
} git_diff_parsed;
|
|
|
|
#endif
|