Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Commit b49b0fc

Browse files
committed
v1.7.1
2 parents a60702e + 644f6b1 commit b49b0fc

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

RELEASING

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Make announcement on mailing list:
2525
Update website:
2626
1. Make sure your ninja checkout is on the v1.5.0 tag
2727
2. Clone https://github.com/ninja-build/ninja-build.github.io
28-
3. In that repo, `cd ninja && ./update-docs.sh`
28+
3. In that repo, `./update-docs.sh`
2929
4. Update index.html with newest version and link to release notes
3030
5. git commit -m 'run update-docs.sh, 1.5.0 release'
3131
6. git push origin master

doc/manual.asciidoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The Ninja build system
22
======================
3-
v1.7.0, Apr 2016
3+
v1.7.1, Apr 2016
44

55

66
Introduction
@@ -209,7 +209,7 @@ specified by `-j` or its default)
209209
`%e`:: Elapsed time in seconds. _(Available since Ninja 1.2.)_
210210
`%%`:: A plain `%` character.
211211
212-
The default progress status is `"[%s/%t] "` (note the trailing space
212+
The default progress status is `"[%f/%t] "` (note the trailing space
213213
to separate from the build rule). Another example of possible progress status
214214
could be `"[%u/%r/%f] "`.
215215

src/build.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ BuildStatus::BuildStatus(const BuildConfig& config)
8484

8585
progress_status_format_ = getenv("NINJA_STATUS");
8686
if (!progress_status_format_)
87-
progress_status_format_ = "[%s/%t] ";
87+
progress_status_format_ = "[%f/%t] ";
8888
}
8989

9090
void BuildStatus::PlanHasTotalEdges(int total) {
@@ -222,7 +222,7 @@ string BuildStatus::FormatProgressStatus(
222222

223223
// Percentage
224224
case 'p':
225-
percent = (100 * started_edges_) / total_edges_;
225+
percent = (100 * finished_edges_) / total_edges_;
226226
snprintf(buf, sizeof(buf), "%3i%%", percent);
227227
out += buf;
228228
break;

src/version.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
#include "util.h"
2020

21-
const char* kNinjaVersion = "1.7.0";
21+
const char* kNinjaVersion = "1.7.1";
2222

2323
void ParseVersion(const string& version, int* major, int* minor) {
2424
size_t end = version.find('.');

0 commit comments

Comments
 (0)