Skip to content

Commit

Permalink
Revert "Merge branch 'js/notes'"
Browse files Browse the repository at this point in the history
This reverts commit 7b75b33, reversing
changes made to 5d680a6.
  • Loading branch information
gitster committed Feb 11, 2009
1 parent f1c8a48 commit 954cfb5
Show file tree
Hide file tree
Showing 16 changed files with 0 additions and 506 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ git-mktag
git-mktree
git-name-rev
git-mv
git-notes
git-pack-redundant
git-pack-objects
git-pack-refs
Expand Down
2 changes: 0 additions & 2 deletions Documentation/RelNotes-1.6.2.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ Updates since v1.6.1

* automatic typo correction works on aliases as well

* Initial support for "git notes" implemented.

* @{-1} is a way to refer to the last branch you were on. This is
accepted not only where an object name is expected, but anywhere
a branch name is expected. E.g. "git branch --track mybranch @{-1}"
Expand Down
13 changes: 0 additions & 13 deletions Documentation/config.txt
Original file line number Diff line number Diff line change
Expand Up @@ -422,19 +422,6 @@ relatively high IO latencies. With this set to 'true', git will do the
index comparison to the filesystem data in parallel, allowing
overlapping IO's.

core.notesRef::
When showing commit messages, also show notes which are stored in
the given ref. This ref is expected to contain files named
after the full SHA-1 of the commit they annotate.
+
If such a file exists in the given ref, the referenced blob is read, and
appended to the commit message, separated by a "Notes:" line. If the
given ref itself does not exist, it is not an error, but means that no
notes should be printed.
+
This setting defaults to "refs/notes/commits", and can be overridden by
the `GIT_NOTES_REF` environment variable.

alias.*::
Command aliases for the linkgit:git[1] command wrapper - e.g.
after defining "alias.last = cat-file commit HEAD", the invocation
Expand Down
46 changes: 0 additions & 46 deletions Documentation/git-notes.txt

This file was deleted.

3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,6 @@ SCRIPT_SH += git-merge-octopus.sh
SCRIPT_SH += git-merge-one-file.sh
SCRIPT_SH += git-merge-resolve.sh
SCRIPT_SH += git-mergetool.sh
SCRIPT_SH += git-notes.sh
SCRIPT_SH += git-parse-remote.sh
SCRIPT_SH += git-pull.sh
SCRIPT_SH += git-quiltimport.sh
Expand Down Expand Up @@ -378,7 +377,6 @@ LIB_H += ll-merge.h
LIB_H += log-tree.h
LIB_H += mailmap.h
LIB_H += merge-recursive.h
LIB_H += notes.h
LIB_H += object.h
LIB_H += pack.h
LIB_H += pack-refs.h
Expand Down Expand Up @@ -461,7 +459,6 @@ LIB_OBJS += match-trees.o
LIB_OBJS += merge-file.o
LIB_OBJS += merge-recursive.o
LIB_OBJS += name-hash.o
LIB_OBJS += notes.o
LIB_OBJS += object.o
LIB_OBJS += pack-check.o
LIB_OBJS += pack-refs.o
Expand Down
3 changes: 0 additions & 3 deletions cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -371,8 +371,6 @@ static inline enum object_type object_type(unsigned int mode)
#define GITATTRIBUTES_FILE ".gitattributes"
#define INFOATTRIBUTES_FILE "info/attributes"
#define ATTRIBUTE_MACRO_PREFIX "[attr]"
#define GIT_NOTES_REF_ENVIRONMENT "GIT_NOTES_REF"
#define GIT_NOTES_DEFAULT_REF "refs/notes/commits"

extern int is_bare_repository_cfg;
extern int is_bare_repository(void);
Expand Down Expand Up @@ -544,7 +542,6 @@ enum rebase_setup_type {

extern enum branch_track git_branch_track;
extern enum rebase_setup_type autorebase;
extern char *notes_ref_name;

#define GIT_REPO_VERSION 0
extern int repository_format_version;
Expand Down
1 change: 0 additions & 1 deletion command-list.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ git-mktag plumbingmanipulators
git-mktree plumbingmanipulators
git-mv mainporcelain common
git-name-rev plumbinginterrogators
git-notes mainporcelain
git-pack-objects plumbingmanipulators
git-pack-redundant plumbinginterrogators
git-pack-refs ancillarymanipulators
Expand Down
1 change: 0 additions & 1 deletion commit.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#include "utf8.h"
#include "diff.h"
#include "revision.h"
#include "notes.h"

int save_commit_buffer = 1;

Expand Down
5 changes: 0 additions & 5 deletions config.c
Original file line number Diff line number Diff line change
Expand Up @@ -469,11 +469,6 @@ static int git_default_core_config(const char *var, const char *value)
return 0;
}

if (!strcmp(var, "core.notesref")) {
notes_ref_name = xstrdup(value);
return 0;
}

if (!strcmp(var, "core.pager"))
return git_config_string(&pager_program, var, value);

Expand Down
1 change: 0 additions & 1 deletion environment.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ enum rebase_setup_type autorebase = AUTOREBASE_NEVER;

/* Parallel index stat data preload? */
int core_preload_index = 0;
char *notes_ref_name;

/* This is set by setup_git_dir_gently() and/or git_default_config() */
char *git_work_tree_cfg;
Expand Down
65 changes: 0 additions & 65 deletions git-notes.sh

This file was deleted.

160 changes: 0 additions & 160 deletions notes.c

This file was deleted.

7 changes: 0 additions & 7 deletions notes.h

This file was deleted.

Loading

0 comments on commit 954cfb5

Please sign in to comment.