Skip to content

Commit

Permalink
dist-upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
kaihendry committed Apr 2, 2012
1 parent bd37948 commit 4649d9f
Show file tree
Hide file tree
Showing 436 changed files with 4,554 additions and 3,867 deletions.
91 changes: 17 additions & 74 deletions etc/bash_completion.d/git
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,6 @@
# per-repository basis by setting the bash.showUpstream config
# variable.
#
#
# To submit patches:
#
# *) Read Documentation/SubmittingPatches
# *) Send all patches to the current maintainer:
#
# "Shawn O. Pearce" <spearce@spearce.org>
#
# *) Always CC the Git mailing list:
#
# git@vger.kernel.org
#

if [[ -n ${ZSH_VERSION-} ]]; then
autoload -U +X bashcompinit && bashcompinit
Expand Down Expand Up @@ -298,13 +286,13 @@ __git_ps1 ()
fi
fi
if [ -n "${GIT_PS1_SHOWSTASHSTATE-}" ]; then
git rev-parse --verify refs/stash >/dev/null 2>&1 && s="$"
git rev-parse --verify refs/stash >/dev/null 2>&1 && s="$"
fi

if [ -n "${GIT_PS1_SHOWUNTRACKEDFILES-}" ]; then
if [ -n "$(git ls-files --others --exclude-standard)" ]; then
u="%"
fi
if [ -n "$(git ls-files --others --exclude-standard)" ]; then
u="%"
fi
fi

if [ -n "${GIT_PS1_SHOWUPSTREAM-}" ]; then
Expand All @@ -313,7 +301,7 @@ __git_ps1 ()
fi

local f="$w$i$s$u"
printf "${1:- (%s)}" "$c${b##refs/heads/}${f:+ $f}$r$p"
printf -- "${1:- (%s)}" "$c${b##refs/heads/}${f:+ $f}$r$p"
fi
}

Expand Down Expand Up @@ -495,11 +483,8 @@ fi
# 4: A suffix to be appended to each possible completion word (optional).
__gitcomp ()
{
local cur_="$cur"
local cur_="${3-$cur}"

if [ $# -gt 2 ]; then
cur_="$3"
fi
case "$cur_" in
--*=)
COMPREPLY=()
Expand All @@ -524,18 +509,8 @@ __gitcomp ()
# appended.
__gitcomp_nl ()
{
local s=$'\n' IFS=' '$'\t'$'\n'
local cur_="$cur" suffix=" "

if [ $# -gt 2 ]; then
cur_="$3"
if [ $# -gt 3 ]; then
suffix="$4"
fi
fi

IFS=$s
COMPREPLY=($(compgen -P "${2-}" -S "$suffix" -W "$1" -- "$cur_"))
local IFS=$'\n'
COMPREPLY=($(compgen -P "${2-}" -S "${4- }" -W "$1" -- "${3-$cur}"))
}

__git_heads ()
Expand Down Expand Up @@ -643,13 +618,8 @@ __git_refs_remotes ()

__git_remotes ()
{
local i ngoff IFS=$'\n' d="$(__gitdir)"
__git_shopt -q nullglob || ngoff=1
__git_shopt -s nullglob
for i in "$d/remotes"/*; do
echo ${i#$d/remotes/}
done
[ "$ngoff" ] && __git_shopt -u nullglob
local i IFS=$'\n' d="$(__gitdir)"
test -d "$d/remotes" && ls -1 "$d/remotes"
for i in $(git --git-dir="$d" config --get-regexp 'remote\..*\.url' 2>/dev/null); do
i="${i#remote.}"
echo "${i/.url*/}"
Expand All @@ -676,7 +646,8 @@ __git_merge_strategies=
# is needed.
__git_compute_merge_strategies ()
{
: ${__git_merge_strategies:=$(__git_list_merge_strategies)}
test -n "$__git_merge_strategies" ||
__git_merge_strategies=$(__git_list_merge_strategies)
}

__git_complete_revlist_file ()
Expand Down Expand Up @@ -854,7 +825,8 @@ __git_list_all_commands ()
__git_all_commands=
__git_compute_all_commands ()
{
: ${__git_all_commands:=$(__git_list_all_commands)}
test -n "$__git_all_commands" ||
__git_all_commands=$(__git_list_all_commands)
}

__git_list_porcelain_commands ()
Expand Down Expand Up @@ -947,7 +919,8 @@ __git_porcelain_commands=
__git_compute_porcelain_commands ()
{
__git_compute_all_commands
: ${__git_porcelain_commands:=$(__git_list_porcelain_commands)}
test -n "$__git_porcelain_commands" ||
__git_porcelain_commands=$(__git_list_porcelain_commands)
}

__git_pretty_aliases ()
Expand Down Expand Up @@ -1152,7 +1125,7 @@ _git_branch ()
__gitcomp "
--color --no-color --verbose --abbrev= --no-abbrev
--track --no-track --contains --merged --no-merged
--set-upstream
--set-upstream --edit-description --list
"
;;
*)
Expand Down Expand Up @@ -2733,33 +2706,3 @@ if [ Cygwin = "$(uname -o 2>/dev/null)" ]; then
complete -o bashdefault -o default -o nospace -F _git git.exe 2>/dev/null \
|| complete -o default -o nospace -F _git git.exe
fi

if [[ -n ${ZSH_VERSION-} ]]; then
__git_shopt () {
local option
if [ $# -ne 2 ]; then
echo "USAGE: $0 (-q|-s|-u) <option>" >&2
return 1
fi
case "$2" in
nullglob)
option="$2"
;;
*)
echo "$0: invalid option: $2" >&2
return 1
esac
case "$1" in
-q) setopt | grep -q "$option" ;;
-u) unsetopt "$option" ;;
-s) setopt "$option" ;;
*)
echo "$0: invalid flag: $1" >&2
return 1
esac
}
else
__git_shopt () {
shopt "$@"
}
fi
5 changes: 3 additions & 2 deletions etc/network/if-up.d/mountnfs
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,10 @@ do_start() {
# and/or rpc.idmapd, and loads the right kernel modules if
# applicable) if we use Kerberos and/or NFSv4 mounts.
#
if [ "$start_nfs" = yes ] && [ -x /etc/init.d/portmap ] && [ -x /etc/init.d/nfs-common ]
if [ "$start_nfs" = yes ] && [ -x /etc/init.d/nfs-common ]
then
/etc/init.d/portmap start
[ -x /etc/init.d/portmap ] && /etc/init.d/portmap start
[ -x /etc/init.d/rpcbind ] && /etc/init.d/rpcbind start
/etc/init.d/nfs-common start
fi

Expand Down
Binary file modified lib/libe2p.so.2.3
Binary file not shown.
Binary file modified lib/libext2fs.so.2.4
Binary file not shown.
Binary file modified sbin/badblocks
Binary file not shown.
Binary file modified sbin/debugfs
Binary file not shown.
Binary file modified sbin/dumpe2fs
Binary file not shown.
Binary file modified sbin/e2fsck
Binary file not shown.
Binary file modified sbin/e2image
Binary file not shown.
Binary file modified sbin/mke2fs
Binary file not shown.
Binary file modified sbin/resize2fs
Binary file not shown.
Binary file modified sbin/tune2fs
Binary file not shown.
Binary file modified usr/bin/chattr
Binary file not shown.
Binary file modified usr/bin/git
Binary file not shown.
Binary file modified usr/bin/git-shell
Binary file not shown.
Binary file modified usr/bin/git-upload-pack
Binary file not shown.
Binary file modified usr/bin/lsattr
Binary file not shown.
Binary file modified usr/lib/git-core/git
Binary file not shown.
13 changes: 8 additions & 5 deletions usr/lib/git-core/git-am
Original file line number Diff line number Diff line change
Expand Up @@ -127,15 +127,18 @@ fall_back_3way () {
mkdir "$dotest/patch-merge-tmp-dir"

# First see if the patch records the index info that we can use.
git apply --build-fake-ancestor "$dotest/patch-merge-tmp-index" \
"$dotest/patch" &&
cmd="git apply $git_apply_opt --build-fake-ancestor" &&
cmd="$cmd "'"$dotest/patch-merge-tmp-index" "$dotest/patch"' &&
eval "$cmd" &&
GIT_INDEX_FILE="$dotest/patch-merge-tmp-index" \
git write-tree >"$dotest/patch-merge-base+" ||
cannot_fallback "$(gettext "Repository lacks necessary blobs to fall back on 3-way merge.")"

say Using index info to reconstruct a base tree...
if GIT_INDEX_FILE="$dotest/patch-merge-tmp-index" \
git apply --cached <"$dotest/patch"

cmd='GIT_INDEX_FILE="$dotest/patch-merge-tmp-index"'
cmd="$cmd git apply --cached $git_apply_opt"' <"$dotest/patch"'
if eval "$cmd"
then
mv "$dotest/patch-merge-base+" "$dotest/patch-merge-base"
mv "$dotest/patch-merge-tmp-index" "$dotest/patch-merge-index"
Expand Down Expand Up @@ -201,7 +204,7 @@ check_patch_format () {
l1=
while test -z "$l1"
do
read l1
read l1 || break
done
read l2
read l3
Expand Down
Binary file modified usr/lib/git-core/git-credential-cache
Binary file not shown.
Binary file modified usr/lib/git-core/git-credential-cache--daemon
Binary file not shown.
Binary file modified usr/lib/git-core/git-credential-store
Binary file not shown.
Binary file modified usr/lib/git-core/git-daemon
Binary file not shown.
Binary file modified usr/lib/git-core/git-fast-import
Binary file not shown.
Binary file modified usr/lib/git-core/git-http-backend
Binary file not shown.
Binary file modified usr/lib/git-core/git-http-fetch
Binary file not shown.
Binary file modified usr/lib/git-core/git-http-push
Binary file not shown.
Binary file modified usr/lib/git-core/git-imap-send
Binary file not shown.
6 changes: 5 additions & 1 deletion usr/lib/git-core/git-parse-remote
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# git-ls-remote could be included from outside a git managed repository;
# This is a shell library to calculate the remote repository and
# upstream branch that should be pulled by "git pull" from the current
# branch.

# git-ls-remote could be called from outside a git managed repository;
# this would fail in that case and would issue an error message.
GIT_DIR=$(git rev-parse -q --git-dir) || :;

Expand Down
3 changes: 2 additions & 1 deletion usr/lib/git-core/git-rebase--am
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/sh
# This shell script fragment is sourced by git-rebase to implement
# its default, fast, patch-based, non-interactive mode.
#
# Copyright (c) 2010 Junio C Hamano.
#
Expand Down
8 changes: 3 additions & 5 deletions usr/lib/git-core/git-rebase--interactive
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
#!/bin/sh
#
# Copyright (c) 2006 Johannes E. Schindelin

# SHORT DESCRIPTION
#
# This script makes it easy to fix up commits in the middle of a series,
# and rearrange commits.
# This shell script fragment is sourced by git-rebase to implement
# its interactive mode. "git rebase --interactive" makes it easy
# to fix up commits in the middle of a series and rearrange commits.
#
# The original idea comes from Eric W. Biederman, in
# http://article.gmane.org/gmane.comp.version-control.git/22407
Expand Down
15 changes: 10 additions & 5 deletions usr/lib/git-core/git-rebase--merge
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/sh
# This shell script fragment is sourced by git-rebase to implement
# its merge-based non-interactive mode that copes well with renamed
# files.
#
# Copyright (c) 2010 Junio C Hamano.
#
Expand Down Expand Up @@ -90,10 +92,13 @@ call_merge () {

finish_rb_merge () {
move_to_original_branch
git notes copy --for-rewrite=rebase < "$state_dir"/rewritten
if test -x "$GIT_DIR"/hooks/post-rewrite &&
test -s "$state_dir"/rewritten; then
"$GIT_DIR"/hooks/post-rewrite rebase < "$state_dir"/rewritten
if test -s "$state_dir"/rewritten
then
git notes copy --for-rewrite=rebase <"$state_dir"/rewritten
if test -x "$GIT_DIR"/hooks/post-rewrite
then
"$GIT_DIR"/hooks/post-rewrite rebase <"$state_dir"/rewritten
fi
fi
rm -r "$state_dir"
say All done.
Expand Down
Binary file modified usr/lib/git-core/git-remote-http
Binary file not shown.
5 changes: 2 additions & 3 deletions usr/lib/git-core/git-sh-i18n
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
#!/bin/sh
# This shell library is Git's interface to gettext.sh. See po/README
# for usage instructions.
#
# Copyright (c) 2010 Ævar Arnfjörð Bjarmason
#
# This is Git's interface to gettext.sh. See po/README for usage
# instructions.

# Export the TEXTDOMAIN* data that we need for Git
TEXTDOMAIN=git
Expand Down
Binary file modified usr/lib/git-core/git-sh-i18n--envsubst
Binary file not shown.
Binary file modified usr/lib/git-core/git-shell
Binary file not shown.
Binary file modified usr/lib/git-core/git-show-index
Binary file not shown.
Binary file modified usr/lib/git-core/git-upload-pack
Binary file not shown.
2 changes: 1 addition & 1 deletion usr/lib/git-core/mergetools/meld
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ check_meld_for_output_version () {
meld_path="$(git config mergetool.meld.path)"
meld_path="${meld_path:-meld}"

if "$meld_path" --output /dev/null --help >/dev/null 2>&1
if "$meld_path" --help 2>&1 | grep -e --output >/dev/null
then
meld_has_output_option=true
else
Expand Down
4 changes: 2 additions & 2 deletions usr/lib/iceweasel/application.ini
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Vendor=Mozilla
Name=Iceweasel
Version=10.0.3
Profile=mozilla/firefox
BuildID=20120322150412
BuildID=20120401083809
ID={ec8030f7-c20a-464f-9b0e-13a3a9e97384}

[Gecko]
Expand All @@ -52,4 +52,4 @@ EnableProfileMigrator=1
EnableExtensionManager=1

[Crash Reporter]
ServerURL=https://crash-reports.mozilla.com/submit?id=ec8030f7-c20a-464f-9b0e-13a3a9e97384&version=10.0.3&buildid=20120322150412
ServerURL=https://crash-reports.mozilla.com/submit?id=ec8030f7-c20a-464f-9b0e-13a3a9e97384&version=10.0.3&buildid=20120401083809
13 changes: 4 additions & 9 deletions usr/lib/iceweasel/components/aboutIce.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,10 @@
const Cc = Components.classes;
const Ci = Components.interfaces;
const Cr = Components.results;
Components.utils.import("resource://gre/modules/Services.jsm");
Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");

var ice = Cc["@mozilla.org/xre/app-info;1"]
.getService(Ci.nsIXULAppInfo)
.QueryInterface(Ci.nsIXULRuntime).name.toLowerCase();
var ice = Services.appinfo.name.toLowerCase();

function AboutIce() {}

Expand All @@ -53,8 +52,7 @@ AboutIce.prototype = {

newChannel: function(uri)
{
var ioService = Cc["@mozilla.org/network/io-service;1"].getService(Ci.nsIIOService);
var channel = ioService.newChannel("chrome://ice/content/ice.xhtml", null, null);
var channel = Services.io.newChannel("chrome://ice/content/ice.xhtml", null, null);
var securityManager = Cc["@mozilla.org/scriptsecuritymanager;1"].getService(Ci.nsIScriptSecurityManager);
var principal = securityManager.getCodebasePrincipal(uri);
channel.originalURI = uri;
Expand All @@ -68,7 +66,4 @@ AboutIce.prototype = {
}
}

if (XPCOMUtils.generateNSGetFactory)
var NSGetFactory = XPCOMUtils.generateNSGetFactory([AboutIce]);
else
var NSGetModule = XPCOMUtils.generateNSGetModule([AboutIce]);
var NSGetFactory = XPCOMUtils.generateNSGetFactory([AboutIce]);
Binary file modified usr/lib/iceweasel/components/libbrowsercomps.so
Binary file not shown.
1 change: 0 additions & 1 deletion usr/lib/iceweasel/distribution

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion usr/lib/libcairo.so.2
Binary file removed usr/lib/libcairo.so.2.11000.2
Binary file not shown.
Binary file added usr/lib/libcairo.so.2.11200.0
Binary file not shown.
Binary file modified usr/lib/xulrunner-10.0/libxul.so
Binary file not shown.
2 changes: 1 addition & 1 deletion usr/lib/xulrunner-10.0/platform.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[Build]
BuildID=20120322150412
BuildID=20120401083809
Milestone=10.0.3
Binary file modified usr/lib/xulrunner-10.0/xpcshell
Binary file not shown.
Binary file modified usr/sbin/e2freefrag
Binary file not shown.
Binary file modified usr/sbin/mklost+found
Binary file not shown.
Loading

0 comments on commit 4649d9f

Please sign in to comment.