Revision e14d6b8408a2a283e55ca64d2c77ac929ec77204 authored by Johannes Schindelin on 06 February 2023, 08:24:06 UTC, committed by Johannes Schindelin on 06 February 2023, 08:24:06 UTC
* maint-2.30:
  Git 2.30.8
  apply: fix writing behind newly created symbolic links
  dir-iterator: prevent top-level symlinks without FOLLOW_SYMLINKS
  clone: delay picking a transport until after get_repo_path()
  t5619: demonstrate clone_local() with ambiguous transport
2 parent s f8bf6b8 + 394a759
Raw File
environment.h
#ifndef ENVIRONMENT_H
#define ENVIRONMENT_H

#include "strvec.h"

/*
 * Wrapper of getenv() that returns a strdup value. This value is kept
 * in argv to be freed later.
 */
const char *getenv_safe(struct strvec *argv, const char *name);

#endif
back to top