404

[ Avaa Bypassed ]




Upload:

Command:

botdev@18.119.116.139: ~ $
#!/bin/sh

# You should execute this script in the repository where you
# want to convert grafts to replace refs.

GRAFTS_FILE="${GIT_DIR:-.git}/info/grafts"

. $(git --exec-path)/git-sh-setup

test -f "$GRAFTS_FILE" || die "Could not find graft file: '$GRAFTS_FILE'"

grep '^[^# ]' "$GRAFTS_FILE" |
while read definition
do
	if test -n "$definition"
	then
		echo "Converting: $definition"
		git replace --graft $definition ||
			die "Conversion failed for: $definition"
	fi
done

mv "$GRAFTS_FILE" "$GRAFTS_FILE.bak" ||
	die "Could not rename '$GRAFTS_FILE' to '$GRAFTS_FILE.bak'"

echo "Success!"
echo "All the grafts in '$GRAFTS_FILE' have been converted to replace refs!"
echo "The grafts file '$GRAFTS_FILE' has been renamed: '$GRAFTS_FILE.bak'"

Filemanager

Name Type Size Permission Actions
buildsystems Folder 0755
coccinelle Folder 0755
contacts Folder 0755
credential Folder 0755
diff-highlight Folder 0755
examples Folder 0755
fast-import Folder 0755
git-jump Folder 0755
git-shell-commands Folder 0755
hg-to-git Folder 0755
hooks Folder 0755
long-running-filter Folder 0755
persistent-https Folder 0755
remote-helpers Folder 0755
stats Folder 0755
subtree Folder 0755
svn-fe Folder 0755
thunderbird-patch-inline Folder 0755
update-unicode Folder 0755
workdir Folder 0755
README File 2.06 KB 0644
convert-grafts-to-replace-refs.sh File 751 B 0644
git-resurrect.sh File 4.29 KB 0644
remotes2config.sh File 770 B 0644
rerere-train.sh File 1.57 KB 0644