#include "cache.h" #include "commit.h" /* * Show one commit */ void show_commit(struct commit *commit) { char cmdline[400]; c…
Git 源代码
Git(读音为/gɪt/)是一个开源的分布式版本控制系统,可以有效、高速地处理从很小到非常大的项目版本管理。[1]也是LinusTorvalds为了帮助管理Linux内核开发而开发的一个开放源码的版本控制软件。
#!/bin/sh # # use "$1" or something in a real script, this # just hard-codes it. # merge_repo=$1 rm -f .git/MERGE_HEAD echo "Ge…
#!/bin/sh fsck-cache --unreachable $(cat .git/HEAD ) | grep unreachable | cut -d' ' -f3 | sed 's:^\(..\):.git/objects/\1/:' | xarg…
#!/usr/bin/perl -w use strict; # Sets mtime and atime of files to the latest commit time in git. # # This is useful after the fir…
#!/bin/sh # # This is the git merge script, called with # # $1 - original file SHA1 (or empty) # $2 - file in branch1 SHA1 (or…
#!/bin/bash # A script for creating source archives from a GIT tag # # Archive files are created in user's home directory. # Tag …
#!/bin/sh version="$1" if [ -z "$version" ]; then echo "Usage: $0 version" 1>&2 exit 1 fi echo "$version" > version g…
DIST_SUBDIRS = pixman src test doc SUBDIRS = pixman src doc .PHONY: doc doc: -$(MAKE) -C doc doc # libpng is required for our t…
Microsoft Developer Studio Workspace File, Format Version 6.00 # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! #########…
# # Shorewall version 4 - Git Macro # # /usr/share/shorewall/macro.Git # # This macro handles Git traffic. # #####################…